Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:2/2
K:A
['A2 (3(cBA) eA (3(cBA)'  
X:1
L:1/8
M:2/2
K:A
"A" A2 (3(cBA) eA (3(cBA) |"A" eAaA"D" gAfA |"A" A2 (3(cBA) eA (3(cBA) |"E" BEdE cEBE | 
"A" A2 (3(cBA) eA (3(cBA) |"A" eAaA"D" gAfA |"A" efec"^(D)" eaec |"E" BABc"A" A2 GF |] 
"E" E2 (3(GFE) BE (3(GFE) | BEdE cEBE |"A" A2 (3(cBA) eA (3(cBA) |"A" eAaA"D" gAfA | 
"A" e^dec"D" agaf |"A" e^dec"D" agaf |"A" ecag"D" fedc |"E" BAGF EFGE |]  