Create melodies using the given musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['AGAc BG G2 BGBd', 'bg g2'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 AGAc BG G2 | BGBd g2 fg | eA A2 G2 Bd | e2 dc Bdgd | AGAc BG G2 | BGBd gfga | (3bag ag egfa | 
 gedc BG G2 :: bg g2 agef | gage dega | bg g2 aged | ea a2 ea a2 | bg g2 agef | gage dega | 
 bgag egfa | gedc BG G2 :|  