Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:G
['GABc dGBd efgf edcB', 'g3 a bgdg'  
X:1
L:1/8
M:4/4
K:G
|: GABc dGBd | efgf edcB | c2 cA B2 BG | ABAG FADF | GABc dGBd | efgf edcB | ceAc (3Bcd GB |1 
 AGFA G2 (3DEF :|2 AGFA G3 z |: g3 a bgdg | ed (3efg edBd | g3 a bgdg | edcB A2 (3Bcd | g3 a bgdg | 
 ed (3efg edBG | DGBd gdBG | DGFA G3 z :|  