Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/16
M:3/4
K:A
['AGAc BAGF', 'A,4 e2 E4 cB A2A,2 cEFG ABcd', "A4 B2d2 b2c'b agfe e^deg bgeg afdf"  
X:1
L:1/16
M:3/4
K:A
 E4 A4 c4 | e4 B2cB A2EC | edfd cBdB AGFG | AGAc BAGF E4 | fdcd agaf ^d2e2 | dEGB dfed ^B2c2 | 
 ecag fedc edFG | AGAc BAGF EDCB, | A2ED CDB,C A,4 :: e2 E4 cB A2A,2 | cEFG ABcd efga | 
 g2EE E2GB f2e2 | c2A,C E2Ac e2fg | a2cd e2AB c2B2 | A2a2 e2fe B2dc | A2 E4 FE B,2DC | 
 !>!A,4 e2a2c'2e'2 | a2 e4 fe cdBc | AGAc BdBG A4 :: B2d2 b2c'b agfe | e^deg bgeg afdf | 
 e2 d'4 c'b f2g2 | a2 e4 fe B2dc | A2 E4 FD B,2DC | A,2CE A4 z4 :|  