Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:G
['B>c d>Bd>g [GB]2 [GB]2 |{c} [DB]AB>d G2', 'e>f g2'  
X:1
L:1/8
M:4/4
K:G
 B>c | d>Bd>g [GB]2 [GB]2 |{c} [DB]AB>d G2 GF/G/ | A>GF>G A D2 A/B/ |1 c>Bc>d [GB]2 :|2 
 c>Bc>d G2 || B>c | d2 b2 b>ag>f | e2 b2 b>a e>f | g2 b2 b>a e>f | g2 B2 B2 :|  