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