Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:2/2
K:G
['B>G (3GGG', 'bgfg (eg)(dg) cBcd'  
X:1
L:1/8
M:2/2
K:G
 c | 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 |]  