Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:4/4
K:G
['', 'dGeG dGgG bGgG dGeG dgfe', 'dbgd BgdB'  
X:1
L:1/8
M:4/4
K:G
 Bc |: dGeG dGgG | bGgG dGeG | dgfe dcBc | dcBc ABc^c | dGeG dGgG | bGgG dGeG | dgfe dcBA |1 
 GgdB GABc :|2 GgdB{GA} G2 |:{EF} ED | DGDB GdBg | dd'bg dbgd | BgdB GdBG | cBAG FEDC | 
 B,GDB GdBg | dd'bg dbgd | BgdB A^cfe | (3(ded) (3(cBA){GA} G2 :|  