\(P=\left(\dfrac{1}{2\sqrt{x}}-\dfrac{x}{2\sqrt{x}}\right)^2.\left(\dfrac{\left(\sqrt{x}-1\right)^2}{x-1}-\dfrac{\left(\sqrt{x}+1\right)^2}{x-1}\right)\)
\(=\left(\dfrac{1-x}{2\sqrt{x}}\right)^2.\left(\dfrac{x-2\sqrt{x}+1-x-2\sqrt{x}-1}{x-1}\right)\)
\(=\dfrac{\left(1-x\right)^2}{2\sqrt{x}}.\dfrac{-4\sqrt{x}}{-\left(1-x\right)}\)
\(=\left(1-x\right).2\sqrt{x}\)
\(=2\sqrt{x}-2x\sqrt{x}\)