Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:6/8
K:G
['c2 e A2 c B2', 'g3 (g/f/)(e/f/) g2', 'dBBB B2 (e/d/)(c/B/) cAAA A2'  
X:1
L:1/8
M:6/8
K:G
 G2 d def | g2 d B2 g | c2 e A2 c | B2 G A2 F | G2 B def | g2 d B2 G | c2 e A2 c | B2 A G3 :| 
 g3 (g/f/)(e/f/) | g2 B g2 B | a3 (a/g/)(f/g/) | a2 A a2 A | g3 (g/f/)(e/f/) | g2 d f2 c | 
 c2 B A2 b | B2 A G3 :|[M:4/4][K:G] d>c | (Bg)dB A>GAB | B2 (B3/2A/4B/4) F2 G>A | G>AGe dBAG | 
 (B2 A2) z d>c | BgdB A>GaB | G2 (G3/2A/4B/4) D2 E>F | Ggfe dcBA | G6 d2 | (B/c/)(d/B) G2 ce | 
 d2 (B/c/)(d/B/) G3 A | (Be)ef g>ab/ | e^d | !fermata!e6 e3/2f/4g/4 | dBBB B2 (e/d/)(c/B/) | 
 cAAA A2 (d/c/)(B/A/) | G>G(Ge) dGcB | !fermata!TB2 !fermata!A2 z d2 | dBBB B2 (e/d/)(c/B/) | 
 cAAA A2 f2 | g<d d>e (dB) | (d/c/)(B/A/) | G/g/f/e/ d/c/B/A/ G/b/a/g/ f/e/d/c/ | Bd'd'd' d'c'bg | 
 bagf g2 :|  