\(\left(\dfrac{2}{\sqrt{x}+1}-\dfrac{\sqrt{x}-2}{x+\sqrt{x}}\right):\dfrac{2}{\sqrt{x}+1}\left(x\ge0\right)\)
\(=\left(\dfrac{2}{\sqrt{x}+1}-\dfrac{\sqrt{x}-2}{\sqrt{x}\left(\sqrt{x}+1\right)}\right).\dfrac{\sqrt{x}+1}{2}\)
\(=\dfrac{2\sqrt{x}-\sqrt{x}+2}{\sqrt{x}\left(\sqrt{x}+1\right)}.\dfrac{\sqrt{x}+1}{2}\)
\(=\dfrac{\sqrt{x}+2}{2\sqrt{x}}\)