Compose music that follows the specified structure and includes the provided theme
X:1
L:1/8
Q:3/8=60
M:3/8
K:G
['gdB G>AG', 'def g2', 'd2 e B2 c'  
X:1
L:1/8
Q:3/8=60
M:3/8
K:G
 gdB | G>AG | DEF | (G/F/G/A/)G | gdB | G>AG | DEF | G3 :: def | g2 e | (f/g/a/g/f/e/) | 
 (d/e/d/c/B/A/) | def | g2 c | B(A/G/)(A/F/) | G2 G | def | g2 e | (f/g/a/g/f/e/) | 
 (d/e/d/c/B/A/) | def | g2 c | BA/G/A/F/ | G2 g :: d2 e | B2 c |{B} AGF | GDg | d2 e | B2 c | 
{B} AGF | !fermata!G2 g :|  