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