Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
['eg fd']  
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
|: d/c/ | BA (3(Bcd) A2 FA | dB cA BF F2 | BA (3(Bcd) A2 Af | af eg fd dc | BA (3(Bcd) A2 FA | 
 dB cA BF F2 | BA (3(Bcd) A2 Af | af eg fd de | fd dA df ag | fd dA (3(Bcd) eg | fd dA de fg | 
 af eg fd df | fd dA df ag | fd dA (3(Bcd) eg | f2 fd g2 fg | af eg fd d :|  