Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:4/4
K:D
['D>AF>A D>AF>A d>ef>e d>cB>A e>Af>A', 'e>A (3AAA'  
X:1
L:1/8
M:4/4
K:D
 A>F | D>AF>A D>AF>A | d>ef>e d>cB>A | e>Af>A g>Af>A | (3efe (3dcB (3ABA (3GFE | D>AF>A D>AF>A | 
 d>ef>e d>cB>A | e>Af>A g>ec>A | d2 f2 d2 :| c>d | e>A (3AAA f>A (3AAA | g>Af>A e>A (3AAA | 
 e>Af>A g>Af>A | (3efe (3dcB (3ABA (3GFE | D>AF>A D>AF>A | d>ef>e d>cB>A | e>Af>A g>ec>A | 
 d2 f2 d2 :|  