Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:4/4
K:A
['d2 B>=G A<A', 'c>A =g2 B>=G A<A c>e'  
X:1
L:1/8
M:4/4
K:A
 e | A<A c/e/A/ d2 B>=G | A<A c>A d2 c>A | B>A =g>e d2 B>=G | A<A c>e d>B e2 :| A<A c>A =g2 B>=G | 
 A<A c>e a2 c>A | a2 c>A =g2 B>=G | A<A c>e d>B e2 | A<A c>A =g2 B>=G | A<A c>e a>A a>f | 
 =g>a g>e d>g BG | A<a =g>e f>d e2 ||  