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