Create a melody using the given alphabetic notations and the provided motif.
X:1
L:1/8
M:4/4
K:G
['d>Bg>d B>dc>B A>gf>a g>fg>e d>fe>c (3Bcd c>A', 'G2 b>gd>g b>gd>g a>fd>f a>f (3def (3gag']  
X:1
L:1/8
M:4/4
K:G
 d>Bg>d B>dc>B | A>gf>a g>fg>e | d>fe>c (3Bcd c>A | F>dA>F D2 (3cBA | G>Bd>g B>gd>B | c>eA>B c3 A | 
 (3BcB G>B (3cBA (3FED | G2 B2 G2 :| b>gd>g b>gd>g | a>fd>f a>f (3def | (3gag (3fgf (3efe d>B | 
 (3cBA (3BAG (3FED (3cBA | G>Bd>g B>gd>B | C>eA>B c3 A | (3BcB G>B c>A (3FED | G2 B2 G2 :|  