Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:6/8
K:Bmin
['BFF B2 d cAA d2 e fed', 'B3 d3 fdf gfg ecA d3 f3'  
X:1
L:1/8
M:6/8
K:Bmin
 BFF B2 d | cAA d2 e | fed cdc | BAB edc | BFF B2 d | cAA d2 e | fed cBA | B3 B3 :: d3 fdf | 
 gfg ecA | d3 f3 | g3 a2 a | bgb afd | efg fdB | fed cBA | B3 B3 :|  