Construct a musical piece conforming to the alphabetically indicated blueprint and the supplied motif.
X:1
L:1/8
M:2/2
K:Amix
['A2 cA eAcA', 'egfa gedg']  
X:1
L:1/8
M:2/2
K:Amix
 A2 cA eAcA | G3 g gedB | A2 cA eAcA | BGEF GABG | A2 cA eAcA |"^var." G2 Bd gdBG | A2 cA eAcA |1 
 BGEF GABG :|2 BGEF GABd |: ea a2 ea a2 | eg g2 eg g2 | eaag a3 g | egfa gedg | eaag bgag | 
 edef g3 e | dega bgag |1 egfa gedg :|2 egfa gedB |]  