Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/2=90
M:2/2
K:G
['G2 GA GABc dBge dcBA c2 ec', 'B2 cBcd efge'  
X:1
L:1/8
Q:1/2=90
M:2/2
K:G
 G2 GA GABc | dBge dcBA | c2 ec BdBG | F2 A2 A2 B2 | cBcd efge | dBAG GFED | EGFA GBAc | 
 B2 G2 G2 z2 :: dBGB defd | e2 c2 c2 B2 | cBcd efge | f2 d2 d2 B2 | cBcd efge | dBAG GFED | 
 EGFA GBAc | B2 G2 G2 z2 :|  