Craft a music piece according to the prescribed structure and the input theme.
X:1
L:1/8
M:2/2
K:A
['A2{g} a2'  
X:1
L:1/8
M:2/2
K:A
 (ed) |{cd}"A" c (Bc) ABcA |{g} a2 e2 e2{f} =g2 |"G"{Bc} B2 (AB) =GABG |{f} =g2 d2 d2 (ed) | 
{cd}"A" c (Bc) ABcA |{g} a2 e2 e2{f} =g2 |"G" dcBA =GABd |{d} c2 A2 A2 :: (uec) | 
"A" A2{g} a2 A2{g} a2 |{g} a2 e2 e2 f2 |"G"{=ga} =g2 B2 gage | dcBA =GABG |"A" A2{g} a2 A2{g} a2 | 
"A" A2{g} a2 e2{f} =g2 |"G" dcBA =GABd |"A" c2 A2 A2 :|  