Craft a musical piece that abides by the prescribed structural guidelines and the given theme.
X:1
L:1/8
M:4/4
K:C
['A2 B c2 A', 'a2 e'  
X:1
L:1/8
M:4/4
K:C
[M:6/8][K:Amin] .abc G | E2 A A2 B | c2 A BGE | GAG EDE | GAG GED | E^FG A2 B | c2 A Bcd | 
 ege dBG | A3 A2 :| | g | a2 e a2 e | abc' bab | =g2 e g2 e | edc BAG | a2 e a2 e | abc' bab | 
 gfe dBG | A3 A2 :|  