\(P=-2\Rightarrow\dfrac{1-x}{\sqrt{x}}=-2\)
\(\Rightarrow1-x=-2\sqrt{x}\)
\(\Rightarrow x-2\sqrt{x}-1=0\)
Đặt \(\sqrt{x}=t>0\Rightarrow t^2-2t-1=0\)
\(\Rightarrow\left[{}\begin{matrix}t=1+\sqrt{2}\\t=1-\sqrt{2}< 0\left(loại\right)\end{matrix}\right.\)
\(\Rightarrow\sqrt{x}=1+\sqrt{2}\)
\(\Rightarrow x=3+2\sqrt{2}\)