Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
M:4/4
K:Bmin
['Bf f2 gfeg f3 g fedf e3', 'Bcde f2 Bc defB g2 Bc defd'  
X:1
L:1/8
M:4/4
K:Bmin
 Bf f2 gfeg | f3 g fedf | e3 f edce | dBBA BAFA | Bf f2 gfeg | f3 g fedf | e3 f edce | 
 dBBA B2 BA :: Bcde f2 Bc | defB g2 Bc | defd agfa | gfeg fedc | Bcde f2 Bc | defB g2 Bc | 
 defd agfa | gfeg fedc :|  