Craft a musical piece that abides by the prescribed structural guidelines and the given theme.
X:1
L:1/8
M:9/8
K:C
['EAA AGA']  
X:1
L:1/8
M:9/8
K:C
 EAA AGA A3 | EAA AGA EGD | EAA AGA A2 B | c3 cBA BAG | EAA AGA A3 | EAA AGA EGD | EAA AGA A2 B | 
 c3 cBc dec | f3 fed edc | Add dcd AcG | A2 f fed edc | d3 def gec | f3 fed edc | Add dcd AcG | 
 A2 f fed edc | d3 def edc |]  