Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
M:4/4
K:A
['EAcA BAcA EABc', 'A,4 cAdB e^dea gebg aged BcdB e^de=d'  
X:1
L:1/8
M:4/4
K:A
|: EAcA BAcA | EABc dAde | fedc dcBA | BAGE (3DED CD | EAcA BAcA | EABc dBcA | 
 GE{G} (3E^DE B,E{G} (3E^DE | GEDB, A,4 :: cAdB e^dea | gebg aged | BcdB e^de=d | cABG AG E2 | 
 cAdA cAdA | B/c/d ea gabg | aefd ecdB | cABG A4 :|  