\(B=\left(\dfrac{1}{\sqrt{x}-1}+\dfrac{3}{\sqrt{x}+1}\right):\dfrac{2}{\sqrt{x}+1}\)
\(=\dfrac{\sqrt{x}+1+3\sqrt{x}-3}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\cdot\dfrac{\sqrt{x}+1}{2}\)
\(=\dfrac{4\sqrt{x}-2}{2\left(\sqrt{x}-1\right)}=\dfrac{2\sqrt{x}-1}{\sqrt{x}-1}\)