\(x-\text{ }\sqrt{x}-2=x+\sqrt{x}-2\sqrt{x}-2=\sqrt{x}\left(\sqrt{x}+1\right)-2\left(\sqrt{x}+1\right)=\left(\sqrt{x}+1\left(\sqrt{x}-2\right)\right)\)
\(x-\sqrt{x}-2=x-\sqrt{x}+\frac{1}{4}-\frac{9}{4}=\left(\sqrt{x}-\frac{1}{2}\right)^2-\left(\frac{3}{2}\right)^2=\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)\)