Create tunes based on the provided musical pattern and the specified motif.
X:1
L:1/8
M:2/4
K:D
['ma non (a>b) ag f2 d(e/f/) gfed', 'z (fg).a.g (fg).a.g (fb).a.g f2 d2 (efgf'  
X:1
L:1/8
M:2/4
K:D
"^Allegro ma non troppo" (a>b) ag | f2 d(e/f/) | gfed | c2 A2 | (Bc)de | f2 a2 | (gf) e>d | d3 z :| 
 (fg).a.g | (fg).a.g | (fb).a.g | f2 d2 | (efgf | efgf) | (ea)gf | e2 c2 | (d>e) dc | B3 B | 
 (e>f) ed | c2 A2 | (Bc)de | f2 a2 | (gf) e>d | d2 z2 |]  