Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/16
M:3/8
K:Bb
['B2Bcde f4 b2']  
X:1
L:1/16
M:3/8
K:Bb
 B2Bcde | f4 b2 | g2f2b2 | gfedcB | B2Bcde | f4 b2 | gfedcB | c2>e2dc | B2Bcde | f4 b2 | gfedcB | 
 G2F2F2 | G2B2cd | e2>g2fe | d2 Tc4 | B6 :|  