Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
Q:1/4=90
M:4/4
K:D
['A2 B>c d2 c>B A>B AF E2', 'f2 f>f f2'  
X:1
L:1/8
Q:1/4=90
M:4/4
K:D
 A2 B>c d2 c>B | A>B AF E2 D2 | A2 d>e f2 e>d | e>d e>f edcB | A2 B>c d2 c>B | A>B AF E2 D2 | 
 A2 d>c BdAF | A2 d>d d2 z2 || f2 f>f f2 g>f | edef e2 A2 | f2 f>f f2 e>d | e2 a>b agfe | 
 d2 d>cB>c dB | A2 d>e f2 e>d | B>c dB AdAF | A2 d>d d2 z2 ||  