Develop melodic lines utilizing the given motif according to the designated arrangement.
X:1
L:1/8
M:6/8
K:D
['A2 G F2 D', 'f2 d'  
X:1
L:1/8
M:6/8
K:D
 (3A/B/c/ | d2 A A2 G | F2 D D2 F | EFE =c2 G | E2 =C C2 A | d2 B =c2 A | B2 G A2 G | F2 D EFG | 
 F2 D D2 :: d | f2 d Ade | f2 d def | e2 =c Gcd | e2 =c cde | f2 d g2 e | a2 f g2 e | f2 d efg | 
 f2 d d2 :|  