Compose tunes based on the given letter-based musical structure and the supplied motif.
X:1
L:1/8
M:4/4
K:D
['A>df>d A2 A>A B>BB>g B2 e>d', 'A B>AB>c d>cd>f |[M:3/4] e4 F>G |[M:4/4]', 'A>A B>BB>g B2 e>d c>de>f g>cf>e [M:2/4]']  
X:1
L:1/8
M:4/4
K:D
 D>F | A>df>d A2 A>A | B>BB>g B2 e>d | c>cc>A G>Ac>B |[M:3/4] A4 F>G |[M:4/4] A>df>d A2 A>A | 
 B>BB>g B2 e>d | c>de>f g9/4f/e/ ||[M:2/4] d3 || d |[M:4/4] e>de>f g3 e | d>cd>e f3 A | 
 B>AB>c d>cd>f |[M:3/4] e4 F>G |[M:4/4] A>df>d A2 A>A | B>BB>g B2 e>d | c>de>f g>cf>e | 
[M:2/4] d2 ||  