Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
M:2/4
K:G
['B2 G>B', '(B>d) d>g e2 d>c', 'B2 G>B'  
X:1
L:1/8
M:2/4
K:G
 c | B2 G>B | c2 A>c | B2 G>B | (AF) Dc | B2 G>B | c2 A>c | B>G A>F | G3 || z | (B>d) d>g | 
 e2 d>c | B2 G>B | (AF) D2 | (B>d) d>g | e2 d>c | (B>G) A>F | G3 || c | B2 G>B | c2 A>c | B2 G>B | 
 (AF) D2 | B2 G>B | c2 A>c | (B>G) A>F | G3 ||  