Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
Q:1/8=160
M:9/8
K:Amin
['E2 A A2', 'e e2 d c2 A'  
X:1
L:1/8
Q:1/8=160
M:9/8
K:Amin
 E2 A A2 B c2 A | E2 A A2 c BAG | E2 A A2 B c2 A | B2 G G2 c BAG :| E2 e e2 d c2 A | 
 A2 B c2 d e^fg | a2 e e2 d c2 A | B2 G G2 c BAG :|  