\(B=\left(\dfrac{\sqrt{x}}{\sqrt{x}-1}-\dfrac{1}{x-\sqrt{x}}\right).\dfrac{1}{\sqrt{x}+1}\)
\(\Rightarrow B=\left(\dfrac{x}{\sqrt{x}\left(\sqrt{x}-1\right)}-\dfrac{1}{\sqrt{x}\left(\sqrt{x}-1\right)}\right).\dfrac{1}{\sqrt{x}+1}\)
\(\Rightarrow B=\dfrac{x-1}{\sqrt{x}\left(\sqrt{x}-1\right)}.\dfrac{1}{\sqrt{x}+1}\)
\(\Rightarrow B=\dfrac{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}{\sqrt{x}\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(\Rightarrow B=\dfrac{1}{\sqrt{x}}\)