Sửa đề: \(P=\left(\dfrac{3}{\sqrt{x}-1}+\dfrac{\sqrt{x}-3}{x-1}\right):\left(\dfrac{x+2}{x+\sqrt{x}-2}-\dfrac{\sqrt{x}}{\sqrt{x}+2}\right)\)
\(=\dfrac{3\sqrt{x}+3+\sqrt{x}-3}{x-1}:\dfrac{x+2-x+\sqrt{x}}{\left(\sqrt{x}+2\right)\left(\sqrt{x}-1\right)}\)
\(=\dfrac{4\sqrt{x}}{x-1}\cdot\dfrac{\sqrt{x}-1}{1}=\dfrac{4\sqrt{x}}{\sqrt{x}+1}\)