Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:4/4
K:G
['G2 B3 d gagd B3) (c dB']  
X:1
L:1/8
M:4/4
K:G
 (dc | BA G2 B3 d | gagd B3) (c | dB A2 B3 A | GF G4) (dc | BA G2 B3 d | gagd B3) (c | dB A2 B3 A | 
 GF G3) (B/c/ (3def | g2 a3) (g (3fde | =f2 g3) (a g^f | d2 cA GG A)d/c/ | (BA G2 B3 d | 
 gagd B3) (c | dB A2 B3 A | GF G4) z2 ||  