Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/2=110
M:2/2
K:G
['B2 G2', 'ef gfed'  
X:1
L:1/8
Q:1/2=110
M:2/2
K:G
 GA | B2 G2 B2 G2 | c6 e2 | d2 cB cBAG | A6 GA | B2 G2 B2 G2 | c6 e2 | d2 cB cBAG | G6 :: ef | 
 gfed ef g2 | c6 ef | gfed fg a2 | A6 ef | gfed ef g2 | c6 e2 | d2 cB cBAB | G6 :|  