Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/4
Q:1/2=100
M:3/2
K:Amin
['e a2 b ^g2 a e2 d', 'g d2 e'  
X:1
L:1/4
Q:1/2=100
M:3/2
K:Amin
 e a2 b ^g2 | a e2 d c/d/ e | f d2 c B/c/ d | c3 B A2 || c e2 f g a | g d2 e f2 | g f/g/ a g f e | 
 d3 c c2 | c c/d/ e a e2 | B B/c/ d g d2 | e f/e/ d c B e | c3 B A2 |]  