Develop melodic lines utilizing the given motif according to the designated arrangement.
X:1
L:1/4
M:4/4
K:D
['A D F A G E e3/2', 'A f f/e/ f'  
X:1
L:1/4
M:4/4
K:D
|: f/g/f/e/ d B | A D F A | G E e3/2 d/ | d c B A | f/g/f/e/ d/e/d/B/ | A D F A | G E e3/2 f/ |1 
 e d d e :|2 e d d c/B/ |: A f f/e/ f | A g g/f/ g | A f f/e/ f | e/f/e/d/ B A | A f f/e/ f | 
 A g g3/2 a/ | b a g c | e d d2 :|  