Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:4/4
K:Bb
['B2 F<D', 'dc/B/ F>B{e} dc/B/ E<BD>B'  
X:1
L:1/8
M:4/4
K:Bb
 d | B2 F<D B>cd>c | B<GTF>D c<CC>c | B2 F<D Bc{bc} d>c | B>G F/G/F/E/ DC B, :| g | 
 f<B{e} dc/B/ F>B{e} dc/B/ | E<BD>B c<CC>g | f<B{e} dc/B/ FB{e} dc/B/ | EF/G/ TF>E DB,B,g | 
 f>B{e} dc/B/ F>B{e} dc/B/ | E<BD>B c<CC>f | g<ef<d e<cd<A | BG F/G/F/E/ DB,B, |]  