Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
Q:1/8=128
M:4/4
K:D
['A<D A>F']  
X:1
L:1/8
Q:1/8=128
M:4/4
K:D
|: F | A<D A>F d>F A<B | A<D A>F E>F G<B | A<D A>F d>F A<d | d>f e>g f<d dA | A<D A>F d>F A<B | 
 A<D A>F E>F G<B | A<D A>F d>F A<d | d>f e>g f<d dg | f2 d>f g>e f<d | e/e/e g>d g>e =c>e | 
 f2 d>f g>e f<d | e/e/e a>g f<d dg | f2 d>f g>e f<d | e/e/e g>d g>e =c>e | f<a e<f d>e B<d | 
 A<F A>g f<d d :|  