Craft a music piece according to the prescribed structure and the input theme.
X:1
L:1/8
M:6/8
K:Amin
['eAA B2{cB} A', 'gfg efg'  
X:1
L:1/8
M:6/8
K:Amin
 d | eAA B2{cB} A | eAA ABd | eAA B2{cB} A | BGG GBd | eAA B2{cB} A | eAA ABd | edc BcA | BGG G2 :: 
[K:G] d | gfg efg | fag fed | gfg efg | afd d2 d | gfg efg | fag fed | edc BcA | BGG G2 :|  