Create melodies using the given musical pattern and the provided motif.
X:1
L:1/8
Q:1/2=108
M:2/2
K:G
['d>gB>c d>gB>c e>cg>e d>Bg>B d>gB>c d>gB>d', 'e3 f{ef} g2 e2', '(dedB) GBAc B2 G2 (dgfe) (dedB) GBAB'  
X:1
L:1/8
Q:1/2=108
M:2/2
K:G
 d>gB>c d>gB>c | e>cg>e d>Bg>B | d>gB>c d>gB>d | c>Ad>B G4 :| e3 f{ef} g2 e2 | 
{fg} a2 f2{ac'} b2{ga} b2 | e3 f{ef} g2 e2 |{fg} a2 f2 g4 :| (dgfe) (dedB) | GBAc B2 G2 | 
 (dgfe) (dedB) | GBAB G4 :|  