Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['A>G F>Ad>e', 'd>e f>dc>d'  
X:1
L:1/8
M:4/4
K:D
 A>G | F>Ad>e f2 e>f | g>fe>d B2 A>G | F>Ad>e f>dc>d | b>af>d e2 A>G | F>Ad>e f2 e>f | 
 g>fe>d B>dA>G | F>Ad>f e>dc>e | d2 (3edc d2- d>A | F>Ad>e f4 | g>fe>d B>A (3A^GA | 
 F>Ad>e (3fed c>d | b>af>d (3efe (3dB/4A/4G | F2 d>e f2 (3def | g2 e>d (3Bcd A>G | 
 F>A (3def e>Ac>A | d>AF>A D2 || d>e | f>dc>d B>dA>d | F>Ad>e f>dc>d | b>da>d g>fe>d | 
 B>e (3e^de c>=de>g | f>dc>d (3BcB A>G | (3FGA d>e f>dc>d | b>da>d g>df>d | (3cBA B>c d2 d>e | 
 f2 c>d B2 A>G | F>Ad>e f2 c>d | (3bc'b (3agf (3gag (3fed | B>e (3eee c>A (3AAA | 
 f>d (3ddd B>d (3ddd | A>d (3ddd F>d (3dcd | (3bc'b (3aba (3gag (3fgf |1 B>ec>A d2 z2 ||2 
 e>c (3ABc d3 ||  