Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
Q:1/8=180
M:4/4
K:Amin
['A3 B AE E2 A2 Bd edBA', 'ea a2'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:Amin
 A3 B AE E2 | A2 Bd edBA | G^FGA GEDE | G2 BG dGBG | A3 B AE E2 | A2 Bd edBA | GABd g^fge | 
 dBGA BA A2 :| ea a2 ea a2 | eaab aged | eg g2 eg g2 | egga ge d2 | ea a2 ea a2 | eaab aged | 
 BABd g^fge | dBGA BA A2 :|  