Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:4/4
K:G
['A3 G Addc A2 AG EDEG AG', 'eg g2'  
X:1
L:1/8
M:4/4
K:G
 A3 G Addc | A2 AG EDEG | AG G2 A2 dc | AcAG ED D2 :: eg g2 edcd | edeg a3 g | eg g2 edcA | 
 GAcd ed d2 :|  