Compose tunes based on the given letter-based musical structure and the supplied motif.
X:1
L:1/8
Q:1/2=100
M:4/4
K:D
['a>d Tf>d', 'f>d f>d', 'TA>D F>D', '(d/c/B/c/) d>A']  
X:1
L:1/8
Q:1/2=100
M:4/4
K:D
 b | a>d Tf>d a>d d>b | a>d Tf>d e>B B>b | a>d Tf>d a>d Tf>d | e/e/e Tf>d eB B :| e | 
 Tf>d Tf>d f>d d>e | f>d f>d e>B B>e | f>d f>d A>d f>d | e/e/e f>d eB B :| d | TA>D F>D TA>D D>d | 
 TA>D F>D TB>E E>d | A>D F>D A>D F>D | E/E/E F>A GE E :| c | (d/c/B/c/) d>A F<D D>c | 
 (d/c/B/c/) d>A B>E E>c | (d/c/B/c/) Td>A F>G A>G | E/E/E F>A BE E :|  