Compose a piece of music following the specified structure and theme.
X:1
L:1/8
M:4/4
K:D
['d>A B>A', 'f>d e>c'  
X:1
L:1/8
M:4/4
K:D
 d>A B>A F>A B>A | d>A B>A F>A A>A | d>A B>A F>A B>A |1 d>A B>A F>A A2 :|2 d>A B>A (3ABc d>e || 
 f>d e>c d>e f>d | f>d e>c (3ABc d>e | f>d e>c d>e f>d | f>d e>c (3ABc d2 | a>f g>e f>d e>c | 
 (3def e>c B>f f>f | e>c A>c B>f f>e | (3def a>f (3efe d2 ||  