Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
Q:1/2=100
M:2/2
K:D
['A3 B AFDF']  
X:1
L:1/8
Q:1/2=100
M:2/2
K:D
 A3 B AFDF | B2 BA B2 d2 | A3 B AFDF | gfed B2 d2 ::  