Compose music with the following musical form, using the given motif as a basis.
X:1
L:1/8
M:4/4
K:D
['F>Ad>e f>ef>d c>de>f g>fg>e f>ag>f', 'd2 a>g f>ga>g f>ga>f b>Bd>g b2 g>f'  
X:1
L:1/8
M:4/4
K:D
 A2 | F>Ad>e f>ef>d | c>de>f g>fg>e | f>ag>f e>dc>d | e>dc>B A>GF>E | F>Ad>e f>ef>d | 
 c>de>f g>fg>e | f>ag>f e>dc>e | d2 f2 d2 :| a>g | f>ga>g f>ga>f | b>Bd>g b2 g>f | e>fg>f e>fg>e | 
 a>Ad>f a2 A>G | F>Ad>e f>ef>d | c>de>f g>fg>e | f>ag>f e>dc>e | d2 f2 d2 :|  