Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
Q:1/8=232
M:4/4
K:A
['A2 A2 Ac ec de fg ae', 'e2 cd ec ec ea ga fe'  
X:1
L:1/8
Q:1/8=232
M:4/4
K:A
|: E2 | A2 A2 Ac ec | de fg ae cA | BE cE dE cE | Bd cB AG FE | A2 A2 Ac ec | de fg ae cA | 
 gb ge fa f^d | e2 e'2 e2 :: cd | ec ec ea ga | fe dc dc BA | GA Bc de fg | af e^d e2 E2 | 
 Ac Ac Bd Bd | cA ce ae cA | GE GB dB AG | A2 a2 A2 :|  