Produce melodies that respect the given musical schema, and integrate the assigned motif.
X:1
L:1/8
M:6/8
K:G
['G>AG GAB dBd g2 d', 'g>ag fed'  
X:1
L:1/8
M:6/8
K:G
 D | G>AG GAB | dBd g2 d | B>AG GAB | dBG FGA | G>AG GAB | dBd g2 d | B>cd ecA | G>AG G2 :: d | 
 g>ag fed | efe d2 d | g>dB GAB | dBG FGA |1 g>ag fed | def g2 d | Bcd ecA | G>AG G2 :|2 
 B>AB c>Bc | d>cd g2 d | B>cd ecA | G>AG G2 ||  