Ta có: \(P=\left(\dfrac{3x-6\sqrt{x}}{x\sqrt{x}-2x}-\dfrac{1}{2-\sqrt{x}}+\dfrac{\sqrt{x}-3}{\sqrt{x}}\right)\cdot\left(1-\dfrac{\sqrt{x}-3}{\sqrt{x}-2}\right)\)
\(=\left(\dfrac{3\sqrt{x}\left(\sqrt{x}-2\right)}{x\left(\sqrt{x}-2\right)}+\dfrac{1}{\sqrt{x}-2}+\dfrac{\sqrt{x}-3}{\sqrt{x}}\right)\cdot\left(\dfrac{\sqrt{x}-2}{\sqrt{x}-2}-\dfrac{\sqrt{x}-3}{\sqrt{x}-2}\right)\)
\(=\left(\dfrac{3\left(\sqrt{x}-2\right)}{\sqrt{x}\left(\sqrt{x}-2\right)}+\dfrac{\sqrt{x}}{\sqrt{x}\left(\sqrt{x}-2\right)}+\dfrac{\left(\sqrt{x}-3\right)\left(\sqrt{x}-2\right)}{\sqrt{x}\left(\sqrt{x}-2\right)}\right)\cdot\dfrac{\sqrt{x}-2-\sqrt{x}+3}{\sqrt{x}-2}\)\(=\dfrac{3\sqrt{x}-6+\sqrt{x}+x-5\sqrt{x}+6}{\sqrt{x}\left(\sqrt{x}-2\right)}\cdot\dfrac{1}{\sqrt{x}-2}\)
\(=\dfrac{x-\sqrt{x}}{\sqrt{x}\left(\sqrt{x}-2\right)}\cdot\dfrac{1}{\sqrt{x}-2}\)
\(=\dfrac{\sqrt{x}\left(\sqrt{x}-1\right)}{\sqrt{x}\left(\sqrt{x}-2\right)}\cdot\dfrac{1}{\sqrt{x}-2}\)
\(=\dfrac{\sqrt{x}-1}{\left(\sqrt{x}-2\right)^2}\)