Compose music that follows the specified structure and includes the provided theme
X:1
L:1/8
M:6/8
K:G
['G3 G3', 'G2 A B2'  
X:1
L:1/8
M:6/8
K:G
 G3 G3 | Bcd cBA | G3 G3 | Bcd D3 :: G2 A B2 E | G2 E BGE | G2 A B2 D | D^cd AFD :|  