Develop music that conforms to the outlined musical structure and the given theme.
X:1
L:1/8
M:6/8
K:G
['GAG B2 d g2 d e2 d', 'G2 gfg efg aba gag fgf eag'  
X:1
L:1/8
M:6/8
K:G
 GAG B2 d | g2 d e2 d | efg dBG | ABA A3 | GAG B2 d | g2 d e2 d | efg dBG | cAF G2 :: gfg efg | 
 aba gag | fgf eag | fdd def | gdB ecA | dBG F>GA | Bcd efg | BcA G3 :|  