\(C=\left(\dfrac{\sqrt{x}-2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}-\dfrac{\sqrt{x}+2}{\left(\sqrt{x}+1\right)^2}\right)\cdot\dfrac{\left(x-1\right)^2}{2}\)
\(=\dfrac{x-\sqrt{x}-2-x-\sqrt{x}+2}{\sqrt{x}-1}\cdot\dfrac{1}{2}=\dfrac{-\sqrt{x}}{\sqrt{x}-1}\)