Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=150
M:2/2
K:G
['BAGF Eeed e2 dc Bdgd', 'g2 fg'  
X:1
L:1/8
Q:1/8=150
M:2/2
K:G
 z F | GFGA BAGF | Eeed e2 dc | Bdgd c3 A | GABc d2 cA | DGGA BAGF | Eeed e2 dc | Bdgd cAFA | 
 G2 GF G2 :| ba | g2 fg e2 ba | g2 fg e2 ag | f2 ef dfag | f2 ef dfba | g2 fg e2 ba | g2 fg e3 f | 
 eBef gfga | bafg e2 :|  