Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:G
['', 'edBA GABA GABA', 'agef gded gded eg g2 gfed BG'  
X:1
L:1/8
M:4/4
K:G
 F F2 |: GABA GABG | ggfg edBA | GABA GABA | ABAG FDEF | BG G2 EGDE | G2 g2 edBA | GABA GABA |1 
 AGFA G2 F2 :|2 AGFA GABc || dggf gfed | eaag agef | gded gded | eg g2 gfed | BG G2 EGDE | 
 G2 g2 edBA GABA GABA |1 AGFA GABc :|2 AGFA G2 F2 ||  