Construct tunes that conform to the predetermined musical pattern, featuring the provided motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
['A>B (3ABd', '(T=c2 c/)(e/d/c/) TB2 (3ABd', "(3BAF (fg/a/) a(d'/b/){b} a2 (Tgf) (e/f/g/f/) Te>d"  
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
"^Slow" A2 A>B (3ABd (3efg |{g} f2 ed B>d (3BAF | (EF/A/) A>B (3ABd (e3/2f/4g/4) | f2 Te2{de} d4 :: 
 (T=c2 c/)(e/d/c/) TB2 (3A/B/c/ | AfTe>d B>d (3BAF | (T=c2 c/)(e/d/c/) TB2 (3ABd | Af Te>d d4 | 
 (T=c2 c/)(e/d/c/) TB2 (3ABd | Af(Te>d){d} B>d (3BAF | (EF/A/) A>B (3ABd (ef/g/) | f2 Te>d d4 :: 
 (fg/a/) a>b{b} a2 (Tgf) |{g} f>a (3fed{A} B>d (3BAF | (fg/a/) a(d'/b/){b} a2 (Tgf) | 
 (e/f/g/f/) Te>d Td3 e | (fg/a/) a>b Ta2 (gf) |{g} f>a (3fed{d} B>d (3BAF | 
 (EF/A/) A>B (3ABd (e3/2f/4g/4) | f2 Te2{de} d4 :|  