Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:4/4
K:Bmin
['B,2 F2 G2 F2 B2 Bc', 'f fgfd'  
X:1
L:1/8
M:4/4
K:Bmin
 B,2 F2 G2 F2 |:"Bm" B2 Bc d2 e2 | fgfd B3 f |"F#" fgfd c3 f |"Bm" fgfd B2 F2 | B3 c d2 e2 | 
 fgfd B3 f |1"F#" fgfd cfed |"Bm" B2 F2"F#" G2 F2 :|2"F#" fgfd cedc |"Bm" B4"A" A4 |: 
[K:D]"D" [df]2 fd fdfd |"G" [Bg]2 gB gBgB |"A" [ca]3 [ca] [ca]2 [ca]2- | [ca]2 g2 (3fgf e2 | 
 [ca]3 [ca] [ca]2 [ca]2- |"A" [ca]2 g2 (3fgf e2 |1"D" [df]2 df dfdf |"A" cfcf BfAf :|2 
"D" d3 A"A" BAFA |"D" d4"F#" c4 ||  