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
['fbdf BdFB', 'B2 (cB) Afcf Afcf AFAc fcAc dfBf']  
X:1
L:1/8
M:2/2
K:Bb
 (3(FGA)S | BdFB DFBd | fbdf BdFB | ceAc EGCB, | A,CFA gfec | BdFB dFBd | fbdf BdFB | GABc de=ef | 
 agec"^Fine" B2 :: (cB) | Afcf Afcf | AFAc fcAc | dfBf dfBf | dBdf bfdf | =egcg egcg | =eceg bgeg | 
 fcaf =ebge |1{g} f=efg f2 :|2 (f=e)fg (fe)_ecS |]  