Develop melodic lines utilizing the given motif according to the designated arrangement.
X:1
L:1/8
M:4/4
K:D
['F>DF>D G>BA>G', 'd2 (c>d) e>cA>c e>fg>e f>dA>d f>ga>f e>cA>c'  
X:1
L:1/8
M:4/4
K:D
 (3(ABc) | d>AF>BG>BA>G | F>DF>D G>BA>G | F>DF>D G>FG>E | F>EF>D E2 (3(ABc) | d>AF>B G>BA>G | 
 F>DF>D G>BA>G | F>Ad>e f>dc>e | d2 d2 d2 :: (c>d) | e>cA>c e>fg>e | f>dA>d f>ga>f | 
 e>cA>c e>fg>f | e>dc>B A2 (d>c) | B>GD>G B>cd>B | A>FD>F A>Bc>A | B>cd>B A>GF>E | D2 D2 .D2 :|  