Produce melodies that respect the given musical schema, and integrate the assigned motif.
X:1
L:1/8
M:3/4
K:D
['cd de cd eg fa (3g(ag) (3f(ed)', '(f/4a7/4) (g/4b7/4) a2 fd eg'  
X:1
L:1/8
M:3/4
K:D
 cd e"^*"f de | cd eg fa | (3g(ag) (3f(ed) ec | (3d(ef) (3g(ag) f2 | cd e"^*"f de | cd eg fa | 
 (3g(ag) (3f(ed) ec | (3A(Bc) d4 :: (f/4a7/4) (g/4b7/4) a2 | fd eg f(a | (3g)(ag) (3f(ed) ec | 
 (3d(ef) (3g(ag) f2 | (f/4a7/4) (g/4b7/4) a2 | fd eg fa | (3g(ag) (3f(ed) ec | (3(ABc) d4 :|  