Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:6/8
K:Amix
['ABA dcd e3 Ace', 'agf gfe fed ecA'  
X:1
L:1/8
M:6/8
K:Amix
 ed | c2 A ABA | dcd e3 | Ace efg | BGB dcB | cBA ABA | dcd e3 | Ace dde | A3 A :: fg | agf gfe | 
 fed ecA | def gfg | B2 B Bfg | agf gfe | fed ecA | Ace dde | A3 A :|  