Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:6/8
K:G
['GFG B2 B AGA G3 B(AB d2)', 'B2 A GFG'  
X:1
L:1/8
M:6/8
K:G
 GFG B2 B | AGA G3 | B(AB d2) d | cBc B2 :: G/B/ | d2 B d2 B | d2 d d(gf) | e2 c cBA | d2 c B2 A | 
 GFG B2 A | GFG B2 A | GFG Aed | cBA G2 :|  