Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
Q:1/2=80
M:2/2
K:Amin
['g aeec de g2 aeed cBcA aeec', 'c2 ce'  
X:1
L:1/8
Q:1/2=80
M:2/2
K:Amin
 g | aeec de g2 | aeed cBcA | aeec defd | e2 ^g2 aAA :: B | c2 ce ddde | c2 ce d/c/B/A/ GB | 
 cdec defd | ea (^g/a/b) aAA :|  