Compose music that follows the specified structure and includes the provided theme
X:1
L:1/8
M:4/4
K:C
['B>G (3GGG', 'bgfg (eg)(dg) cBcd'  
X:1
L:1/8
M:4/4
K:C
 BEA |[M:2/2][K:G]SOSOO .!fermata!PMTuCOMc | B>G (3GGG Bcdc | BGBd eAAc | B>G (3GGG BcdB | 
 dega bg g2 :| a | bgfg (eg)(dg) | cBcd eAAg | bgfg egdg | egfa bgga | bgfg (eg)(dg) | cBcd eAAc | 
 BGGB cAAg | fdef g2 z |]  