Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:2/4
K:Bmin
['FB BA/B/ de f>a ed cA', 'a>f ec BA'  
X:1
L:1/8
M:2/4
K:Bmin
|: FB BA/B/ | de f>a | ed cA | B/c/B B>A | FB BA/B/ | de f>a | ed cA |1 B2 B>A :|2 B2 B>c |: 
 df fe/d/ | ce a>f | ec BA | B/c/B B>c | df fe/d/ | ce a>f | ec BA |1 B2 B>c :|2 B2 B>A ||  