Develop melodic lines utilizing the given motif according to the designated arrangement.
X:1
L:1/8
M:4/4
K:G
['(3def g>dB>d G2', 'GA BGFG DGFG BGFG D2 AB cAFA'  
X:1
L:1/8
M:4/4
K:G
 (3def | g>dB>d G2 (3def | g>dB>d G2 A>B | cAFA DFAd | ed^cd B2 (3def | gdBd G2 (3def | 
 gdBd G2 AB | cAFA DFAB | A2 G2 G2 :: GA | BGFG DGFG | BGFG D2 AB | cAFA DFAd | ed^cd B2 GA | 
 BGFG DGFG | BGFG D2 AB | cAFA DFAB | A2 G2 G2 :|  