Produce melodies that respect the given musical schema, and integrate the assigned motif.
X:1
L:1/8
M:2/2
K:D
['|{DE} F2 A2', 'd c2 (e/f/g) (fe)(dc) B6 d2 (dA)(GF)'  
X:1
L:1/8
M:2/2
K:D
 D2 |{DE} F2 A2 (Bc)(dB) | (AF)(ED) E3 D |{DE} F2 A2 d2 (d/e/f) |{f} e6 (de) | (fe)(dB) d3 B | 
 (AB)(dF) E3 A | F2 (dB) E2 (A^G) | A6 :: e2 | (dc)(BA) (Bc)(dB) | f2 (B^A) B3 d | 
 c2 (e/f/g) (fe)(dc) | B6 d2 | (dA)(GF) G3 A | BGcA dBec | d2 (ef) (gf)(ed) | d4 Tc3 B | 
 (AF)(BA) (GF)(ED) | D6 :|  