Compose music that follows the specified structure and includes the provided theme
X:1
L:1/4
M:3/2
K:G
['d d'  
X:1
L:1/4
M:3/2
K:G
 d | =f =F F3 A |[M:4/2] c B G3 d d d |[M:3/2] g3 d (=f g) |[M:4/2] (3(a g) f f3 d d d | 
[M:3/2] (g3 d) =f g | a g =f2 !fermata!d2 | (3=f f f =F3 A/ A/ |"^(a)" c B G3 |]"^*(a)" c A G3 ||  