Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:Amix
['e c2 Ac B2 GB ABcd eaed', 'ceae f2 df ecac fBBd', 'AAA A cccA dddA cccA BBBA cccA'  
X:1
L:1/8
M:4/4
K:Amix
 e | c2 Ac B2 GB | ABcd eaed | cAeA B2 Gf | ecdB AAA :| e | ceae f2 df | ecac fBBd | ceae fdfa | 
 ecdB AAAe | ceae f2 df | ecac fBBd | dfca Bcdf | ecdB AAA || A | cccA dddA | cccA BBBA | 
 cccA dddB | ecdB AAA :|  