a)
\(B=\dfrac{\sqrt{x}\left(\sqrt{x}-1\right)}{x-1}-\dfrac{\sqrt{x}-1}{x-1}\left(x\ge0,x\ne1\right)\)
\(B=\dfrac{x-\sqrt{x}-\sqrt{x}+1}{x-1}=\dfrac{x-2\sqrt{x}+1}{x-1}\)
\(=\dfrac{\left(\sqrt{x}-1\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}=\dfrac{1}{\sqrt{x}+1}\)