Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
M:2/4
K:G
['G>B dd ee d2 g>d dd', 'cA/c/ BG/B/'  
X:1
L:1/8
M:2/4
K:G
|: G>B dd | ee d2 | g>d dd | e2 d2 :: cA/c/ BG/B/ | AF/A/ BG | cA/c/ BG/B/ | AA G2 :|  