Construct a music composition that includes the given motif, while conforming to the necessary musical form.
X:1
L:1/8
M:4/4
K:G
['A2 eA', 'edcB Aaag'  
X:1
L:1/8
M:4/4
K:G
 A2 eA dAcA | A2 cA BAGB | A2 eA dAcd | eg g2 edcB | A2 eA dAcA | A2 cA BAGD | (3EFG Ac BAGB | 
 A2 AG A4 :| eaag edcB | ABcd edcB | Aaag edcd | eg g2 edcB | Aaag edcB | ABcA BAGD | 
 (3EFG Ac BAGB | A2 AG A4 :|  