Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:Amix
['c2 Bc Afed cAce agef', 'A2 z2 ABcd efec ABcd ge (3cBA', 'A2 aA AgAA fAAeedef'  
X:1
L:1/8
M:4/4
K:Amix
|: AB | c2 Bc Afed | cAce agef | g2 fa geef | gedB GABG | c2 Bc Afed | cAce agef | gedB Gfed | 
 cABc A2 :: z2 | ABcd efec | ABcd ge (3cBA | GABc dedB | GABc dBAG | ABcd eaaf | geaf geef | 
 gedB Gfed | cABc A2 :: z2 | A2 aA AgAA | fAAeedef | g2 fa geef | gedB GABG | A2 aA AgAA | 
 fAAeedef | gedB Gfed | cABc A2 :|  