Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:Bb
['B>fd>B A>ec>A B>cd>B F2 (3(cBA)', '[BD]2 (uc>B) A>cf>=e f2 (c>B) A>cf>=e f>ag>f'  
X:1
L:1/8
M:2/2
K:Bb
|: (3(uFGA) | B>fd>B A>ec>A | B>cd>B F2 (3(cBA) | (G>=B)c>d (e>d)c>_B | (A>c)f>=e (g>f)_e>c | 
 B>fd>B A>ec>A | B>cd>B F2 (3(cBA) | G>(gf>)(e d>)(cB>)A | c2 [BD]2 [BD]2 :: (uc>B) | 
 A>cf>=e f2 (c>B) | A>cf>=e f>ag>f | (=e>f)g>a (b>g)e>g | (f>=e)f>g (f>_e)d>c | d>ed>c =B>d g2 | 
 (c>d)c>B A>c f2 | (3(gab) a>g f>ed>c | B2 b2 B2 :|  