Create melodies using the given musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=150
M:2/2
K:G
['DGBG dGBG efge dBAB', 'G2 d2 gbeg dgBd dBge dBAB GBdB'  
X:1
L:1/8
Q:1/8=150
M:2/2
K:G
 G2 | DGBG dGBG | efge dBAB | GFGA BABG | ABAF GFED | DGBG dGBG | efge dBAB | GBdg ecAF | 
 G2 G2 G2 :| d2 | gbeg dgBd | dBge dBAB | GBdB edcB | A^G AB A2 DC | B,DGB d2 cB | ABcd e2 ge | 
 dBGB AGFA | G2 G2 G2 :|  