B=\(\left(\frac{2x+1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\right)\)\(-\frac{\sqrt{x}}{x+\sqrt{x}+1}\))\(\left(\frac{\left(1+\sqrt{x}\right)\left(x-\sqrt{x}+1\right)}{1+\sqrt{x}}-\sqrt{x}\right)\)=\(\left(\frac{x+\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\right)\)\(\left(x-2\sqrt{x}+1\right)\)=\(\sqrt{x}-1\)