a: Sửa đề; \(P=\left(\dfrac{3x+3\sqrt{x}-3}{x+\sqrt{x}-2}-\dfrac{\sqrt{x}+1}{\sqrt{x}+2}+\dfrac{\sqrt{x}-2}{\sqrt{x}-1}\right)\cdot\left(\dfrac{1}{1-\sqrt{x}}-1\right)\)
\(=\dfrac{3x+3\sqrt{x}-3-x+1+x-4}{\left(\sqrt{x}+2\right)\left(\sqrt{x}-1\right)}\cdot\dfrac{1-1+\sqrt{x}}{1-\sqrt{x}}\)
\(=\dfrac{3x+3\sqrt{x}-6}{\left(\sqrt{x}+2\right)\left(\sqrt{x}-1\right)}\cdot\dfrac{\sqrt{x}}{1-\sqrt{x}}=\dfrac{3\sqrt{x}}{1-\sqrt{x}}\)
b: Để \(P=\sqrt{x}\) thì \(3\sqrt{x}=\sqrt{x}-x\)
\(\Leftrightarrow x+2\sqrt{x}=0\)
hay x=0