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