Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:2/2
K:Amin
['AGAG E^FGB A^GAB cded cBcA E^FGa |1', 'BGdG ec (3(ccc) eg^fa gedB cA A2', 'E^FGB A^GAB ceaf gedB cA'  
X:1
L:1/8
M:2/2
K:Amin
|: AGAG E^FGB | A^GAB cded | cBcA E^FGa |1 gedB cAdc :|2 gedB cA A2 || ec (3(ccc) ecgc | 
 BGdG BGdG | ec (3(ccc) eg^fa | gedB cA A2 || agea gedB | cBcG E^FGB | A^GAB ceaf | gedB cA A2 |]  