Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/4
Q:1/2=120
M:4/4
K:Amin
['e A B c d', 'd e'  
X:1
L:1/4
Q:1/2=120
M:4/4
K:Amin
 e | A B c d | e2 a2 | g e f e | d2 c e | A B c d | e a g e | f e (d3/2 c/4d/4) | e3 || e/f/ | 
 g d d e | f2 e2 | f/e/d/c/ B/c/A/B/ | ^G3 A/B/ | c d e f | e A a2 | e d/c/ d/c/B/c/ | A3 |]  