Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
Q:1/8=180
M:4/4
K:Amin
['eAAB cBcA GE E2 E2 EG A^GAB', 'eaag a2 ag eaaa baag'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:Amin
 Bd | eAAB cBcA | GE E2 E2 EG | A^GAB cBcd | eaag eg d2 | eAAB cBcA | GE E2 E2 EG | A^GAB cd=ge | 
 dBGB A2 :| Bd | eaag a2 ag | eaaa baag | ede^f g2 gg | eggg edBd | eaag a2 ag | eaaa baag | 
 e2 e^f gage | dBGB A2 :|  