Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:3/4
K:A
['AA=cAGE AA(3=cBAGE AB =c2 (3dB=G =c6 ee=gedB']  
X:1
L:1/8
M:3/4
K:A
 AA=cAGE | AA(3=cBAGE | AB =c2 (3dB=G | =c6 | ee=gedB | Bde=ccA | (3EFG A2 B=c | B6 |]  