Compose tunes based on the given letter-based musical structure and the supplied motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['EAAB c2 BA GBdc BAGD EAAB cdef', 'edBd g2 bg']  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
"^A dorian" AG | EAAB c2 BA | GBdc BAGD | EAAB cdef | gedB eAAG | EAAB c2 BA | GBdc BAGD | 
 EAAB cdef | gedB eAAg || eaag edBd | g2 bg edBd | g2 bg efge | dBgB BAAg | eaag edBd | 
 g2 bg edBd | gabg efge | dBgB cBAG | A8 ||  