Compose tunes based on the given letter-based musical structure and the supplied motif.
X:1
L:1/8
M:2/4
K:G
['ga b2 ba gage dcBA G2 FE', '(3DEF G3 A B3 c dedB G2', 'A2 AG']  
X:1
L:1/8
M:2/4
K:G
 ga | b2 ba gage | dcBA G2 FE | DEFG ABcd | e d2 d d2 ga | b2 ba gage | dcBA G2 FE | DEFG ABcA | 
 B [BG]2 [BG] [BG]2 :: (3DEF | G3 A B3 c | dedB G2 FE | DEFG ABcd | e d2 d d2 (3DEF | G3 A B3 c | 
 dedB G2 FE | DEFG ABcA | B [BG]2 [BG] [BG]2 ::[K:D] FG | A2 AG FDFG | A2 AG FDFA | a2 ab afeg | 
 fdec d2 FG | A2 AG FDFG | A2 AG FDFD | A,B,CD EFGE | F [DF]2 [FD] [FD]2 :|  