Develop a piece of music by incorporating the provided motif and following the outlined musical structure represented by alphabet characters.
X:1
L:1/8
Q:1/8=160
M:6/8
K:Amin
['', 'eAA BAB', 'aba g2 e']  
X:1
L:1/8
Q:1/8=160
M:6/8
K:Amin
 d |: eAA BAB | eAA AB/^c/d | eAA BAB | dBG G2 d | eAA BAB | eAA AGE | GAB d2 e | dBA A3 :| 
 aba g2 e | dBG GBd | aba g2 e | dBd g3 | aba g2 e | dBG AGE | GAB d2 e | dBA A3 :|  