Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/8
M:2/2
K:Bb
['(3(ufga) vb>ab>f d>FB>d c>BA>c B>df>b g>ec>g f>dB>d', 'B2 (3(uBc^c) d>BG>B d>BG>d c>BA>B (3GD^F (3GAB']  
X:1
L:1/8
M:2/2
K:Bb
 (3(ufga) | vb>ab>f d>FB>d | c>BA>c B>df>b | g>ec>g f>dB>d | c>f=e>"^4"c' f>^fg>a | b>ab>f d>FB>d | 
 c>BA>B c>de>f | g>ec>g f>ec>f | B2{a} b2 B2 :: (3(uBc^c) | d>BG>B d>BG>d | c>BA>B (3GD^F (3GAB | 
 c>A=F>A c>AF>A | G>F=E>G (3FEF (3^FGA | B>GD>G B>GD>G | B>cA>B (3G^FG (3AB=B | c>A=F>A c>ed>c | 
 B2 b2 B2 :|  