Compose music with the following musical form, using the given motif as a basis.
X:1
L:1/8
M:4/4
K:D
['A>GF>G a>df>d A>GF>G', 'd2 c>d e2- e>f g>ec>e d>cd>e f>dA>f'  
X:1
L:1/8
M:4/4
K:D
|: F>G | A2- A>B A>GF>G | a>df>d A>GF>G | (3ABA B>F A>FD>F | E>^DE>F (3EFE (3EFG | 
 (3AAA B>F A>GF>G | a>df>d A>GF>G | A>ce>f g>ec>e | (3ded c>e d2 :: c>d | e2- e>f g>ec>e | 
 d>cd>e f>dA>f | (3gag f2 (3efe d2 | (3cdc (3BcB B>AF>G | A2 A>B A>GF>G | a>df>d A>GF>G | 
 A2 (3def g>ec>e | (3ded c>e d2 :|  