Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
Q:1/8=240
M:4/4
K:A
['eaga f2 ec d2 Bd', 'a2 ga faae cAce aece']  
X:1
L:1/8
Q:1/8=240
M:4/4
K:A
 EA | A2 cA BAcA | EDAc eaga | f2 ec d2 Bd | c2 Ac BcBA | GEFG A2 (3cBA | E2 Ac eaga | 
 f2 ec d2 Bd | ceaf ecBc | A2 :| (3efg | a2 ga faae | cAce aece | ebgb ebgb | ebbe gefg | 
 a2 ga faae | cAce aece | defe ceaf | ecBc A2 :|  