\(P=\dfrac{15\sqrt{x}-11-\left(3\sqrt{x}-2\right)\left(\sqrt{x}+3\right)-\left(2\sqrt{x}+3\right)\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+3\right)}\)
\(=\dfrac{15\sqrt{x}-11-3x-9\sqrt{x}+2\sqrt{x}+6-2x+2\sqrt{x}-3\sqrt{x}+3}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+3\right)}\)
\(=\dfrac{-5x+7\sqrt{x}-2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+3\right)}=\dfrac{-5x+5\sqrt{x}+2\sqrt{x}-2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+3\right)}\)
\(=\dfrac{\left(\sqrt{x}-1\right)\left(-5\sqrt{x}+2\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+3\right)}=\dfrac{-5\sqrt{x}+2}{\sqrt{x}+3}\)