Produce melodies that respect the given musical schema, and integrate the assigned motif.
X:1
L:1/8
M:2/4
K:G
['B2 AG |[M:4/4] E2 A2 ABAG |[M:2/4]', 'A2 Bd dc B2 AB d2 cF'  
X:1
L:1/8
M:2/4
K:G
|: DG GA | B2 AG |[M:4/4] E2 A2 ABAG |[M:2/4] EA A2 | DG GA | B2 AB | d2 cF | AG G2 :: Bd dc | 
 B2 AG |[M:4/4] E2 A2 ABAG |[M:2/4] EA A2 | Bd dc | B2 AB | d2 cF | AG G2 :|  