Develop musical pieces that incorporate the given motif and follow the specified structure.
X:1
L:1/8
M:2/2
K:Amin
['e3 d', 'cd egfa g2 ef gfed BAGB'  
X:1
L:1/8
M:2/2
K:Amin
"Am" a2 a2 A,3 B, | CA,DC A,2 A,B, | CB,CD EGAB |"C" c4 z ege |"Am" a2 ag edcd | eged cAGB | 
 Aceg edcA |"G" ED C2"Am" A,4 ::[K:Amix]"A" e3 d c2 cd | ed c4 A2 |"G" BA G3 AB=c | dBGA B4 | 
"A" e3 d c2 cd | egfa g2 ef |"G" gfed BAGB | A=cBG"A" A4 :|  