Develop melodic lines utilizing the given motif according to the designated arrangement.
X:1
L:1/8
M:3/4
K:D
['(3ABc dDFAdf ba^gafd feeABc eddABc dAFAdf ba^gafd', 'AgAgAg fcedcB', 'b2 g4 fe A3 c'  
X:1
L:1/8
M:3/4
K:D
 (3ABc | dDFAdf | ba^gafd | feeABc | eddABc | dAFAdf | ba^gafd | fe^deBc | A4 :: (3ABc | AgAgAg | 
 fcedcB | A^GBA=GE | DFAdfa | AgAgAg | fcedcB | a^gba=ge | d4 ::[K:G] Bd | b2 g4 | fe A3 c | 
 edFedF | GFGBed | b2 g4 | fe A3 c | fedcBA | G4 :|  