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