Produce melodies that respect the given musical schema, and integrate the assigned motif.
X:1
L:1/8
Q:1/4=100
M:4/4
K:G
['B2 (AG) B2 d2', "g2 (bc') Ta2 g2 Tf2 (ed) g4", "(bc') (d'b)(c'a) bagb (af) (f/g/a) d4 (efge)"  
X:1
L:1/8
Q:1/4=100
M:4/4
K:G
 (dc) | B2 (AG) B2 d2 | g4 d4 | efgd edcB | A4 A2 dc | B2 (AG) B2 d2 | b4 d4 | efge fgaf | g4 g2 || 
 (bc') | Ta2 g2 Tf2 (ed) | g4 d4 | efgd edcB | A4 A2 (bc') | (d'c')(ba) bagb | a4 d4 | efge fgaf | 
 g4 g2 ||"_or sometimes end thus" (bc') | (d'b)(c'a) bagb | (af) (f/g/a) d4 | (efge) (fgaf) | 
 g4 g2 |]  