Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:6/8
K:G
['G3 AGE', 'BGG AGE', 'dge dBG', 'G2 d BGd', 'EFD EFD'  
X:1
L:1/8
M:6/8
K:G
 G3 AGE | BAB AGE | G3 AGE | GAB GED | GFG AGE | GAB cde | dBG AGE | GAB GED || BGG AGG | BGG AGE | 
 BGG AGE | GAB GED | BAB c3 | d3 g3 | dBG AGE | GAB GED || dge dBG | ABA ABc | dge dBG | dgf g2 a | 
 bag agf | gfe dcB | c3 B3 | AGE GED || G2 d BGd | BGd AFD | G2 d BGd | AFd AFD | G2 d BGd | 
 BGd ABc | BAG AGE | GAE GED || EFD EFD | ABA BGE | EFD EFD | GAG GED | EFD EFD | A3 AB^c | 
 BAG AGE | GEA GED ||  