Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:4/4
K:Bmin
['B2 dB cA A2', 'd2 fd adfd'  
X:1
L:1/8
M:4/4
K:Bmin
 z | B2 dB cA A2 | Bcde fa/f/ ec | B2 dB cA A2 | fdec B3 :| c | d2 fd adfd | (3cBA eA fAeA | 
 d2 fd adfd | Bdcd B3 c | d2 fd adfd | (3cBA eA fAeA | B2 dB cA A2 | fdec B3 |]  