Develop melodic lines utilizing the given motif according to the designated arrangement.
X:1
L:1/8
M:4/4
K:D
['(FG) ABAG F(DFA) BAB(c dc)dB', 'Ad (3(dcd)'  
X:1
L:1/8
M:4/4
K:D
 (FG) | ABAG F(DFA) | BAB(c dc)dB | AFdB A(FDF) | E(DEF) E2 (FG) | ABAG F(DFA) | BAB(c dc)dB | 
 A(dcB) AGFE | D2 (DE) D2 :: (FG) | Ad (3(dcd) Ad (3(dcd) | Adf(d ed)cd | ef(gf ed)c(f | 
 ed)c(B AGF)G | Ad (3(dcd) Ad (3(dcd) | Adf(d ed)cd | ef(gf e)dc(e | d2) dc d2 :|  