Craft a music piece according to the prescribed structure and the input theme.
X:1
L:1/8
M:4/4
K:A
['A/A/A{d} cA eAAf eAAa', 'aA A/A/A{d} cAAg aAAa'  
X:1
L:1/8
M:4/4
K:A
 c | A/A/A{d} cA eAAf | eAAa fe{e}dc | Bcde fBBg | aBba gfea | A/A/A{d} cA eAAf | eAAa fedc | 
 cdea fecf | ecBc f2 e || g | aA A/A/A{d} cAAg | aAAa fe{e}dc | bB B/B/B dBB^a | bBB=a gfeg | 
 aA A/A/A{d} cAAg | aAAa fedc | defa fecf | ecBc f2 ea ||  