Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:Amin
['AeeA eeAe eAeA dddA AeeA eeAB', 'AaaA g2 Aa'  
X:1
L:1/8
M:4/4
K:Amin
|: AeeA eeAe | eAeA dddA | AeeA eeAB | gedB AAAB :: AaaA g2 Aa | aA g2 edde | AaaA g2 Aa | 
 aAdB AAAB :|  