Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:3/4
K:D
['f>A d>c d<f', 'D2 (3fed e>A c>=c ^c>A f>A d>c']  
X:1
L:1/8
M:3/4
K:D
|: (3def | g>f g>b a>g | f>A d>c d<f | e>A c>=c ^c>e | f>A d>c d<f | g2 e>b (3bag | f<A d>c d>f | 
 e<A c>=c ^c>e | d2 D2 :: (3fed | e>A c>=c ^c>A | f>A d>c d>f | e>a c>e g>a | b>a ^g>a f>d |1 
 e>A c2 (3gfe | f>A d>A a>f | g>e c>A g>e | d2 D2 :|2 g>e c>^g (3bag | a>f d>c d>A | 
 e<A c>=c (3^cBA | d2 D2 ||  