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