Construct melodies by blending the designated musical pattern with the supplied motif.
X:1
L:1/8
M:4/4
K:G
['', '(3DEF G4 (3FAG (3ABd g2 ddcd (3edb', 'ggfg g3 d gBcd edBG DGBd cafd'  
X:1
L:1/8
M:4/4
K:G
 (3DEF |: G4 (3FAG (3ABd | g2 ddcd (3edb | GA^GB ABcd | a2 gfed (3d^c=c | A G3 FAGA | Bdgd dcde | 
 dBGA afdc | adfa ggfg :| g3 d gBcd | edBG DGBd | cafd cafa | gbag fgdb | cd g2 dgBc | dedb gdgb | 
 cafd cADF | A4 GGFG :|  