Compose music that follows the specified structure and includes the provided theme
X:1
L:1/4
M:4/4
K:G
['d d']  
X:1
L:1/4
M:4/4
K:G
 B | d d d c | B2 A B/B/ | c B A B | c2 z B | d d B/c/d/B/ | c A G2 | c B G =F D ^f/f/ G A | 
 c A B B/G/ | =F2 z A/c/ | B A G |]  