Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:Bmin
['d<Bf>B d<fB>d (3cBA', 'd2 f>d'  
X:1
L:1/8
M:4/4
K:Bmin
|: d<Bf>B d<fB>d | (3cBA e>A c>eA>c | d<Bf>B d<fB>d | (3cBA B>c d>AB>c :: d2 f>d a>df>e | 
 d>ef>d c>eB>c | d2 f>d a>df>d | c>eB>c d>AB>c :|  