Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:6/8
K:Bb
['(f/e/) (dB).B B2 d (dc).c .c2 a', "B2 (b/c'/) (d'c').d' (bc').d (c'b).c' (ab).c' (ba).b"  
X:1
L:1/8
M:6/8
K:Bb
 (f/e/) | (dB).B B2 d | (dc).c .c2 a | (b>a).g (f>g).f | (dB).B B2 :: (b/c'/) | (d'c').d' (bc').d | 
 (c'b).c' (ab).c' | (ba).b (gc').b | (af).f .f3 | (gf).g (ef).g | (fd).f (de).f | (ed).e (cf).e | 
 (dB).B .B2 :|  