Compose music that follows the specified structure and includes the provided theme
X:1
L:1/8
Q:1/2=60
M:4/4
K:G
['GBdB cA A2 BGGB B2 A2 GBdB', 'defg fe d2'  
X:1
L:1/8
Q:1/2=60
M:4/4
K:G
 GBdB cA A2 | BGGB B2 A2 | GBdB cAAc | BGAF G2 G2 :| defg fe d2 | cedc c2 B2 | defg fe d2 | 
 cBAG !fermata!d4!D.C.! |]  