\(=\left(\dfrac{9}{x\left(x+3\right)\left(x-3\right)}+\dfrac{1}{x+3}\right):\left(\dfrac{x-3}{x\left(x+3\right)}-\dfrac{x}{3\left(x+3\right)}\right)\)
\(=\dfrac{9+x\left(x-3\right)}{x\left(x+3\right)\left(x-3\right)}:\dfrac{3x-9-x^2}{3x\left(x+3\right)}\)
\(=\dfrac{x^2-3x+9}{x\left(x+3\right)\left(x-3\right)}\cdot\dfrac{3x\left(x+3\right)}{-\left(x^2-3x+9\right)}\)
\(=\dfrac{-3}{x-3}\)