Answer
$\dfrac{2(x^2+x-21)}{(x+3)^2(x-3)}$
Work Step by Step
Factoring the given expression, $ \dfrac{3}{x+3}+\dfrac{5}{x^2+6x+9}-\dfrac{x}{x^2-9} ,$ results to \begin{array}{l}\require{cancel} \dfrac{3}{x+3}+\dfrac{5}{(x+3)(x+3)}-\dfrac{x}{(x+3)(x-3)} .\end{array} Using the $LCD= (x+3)(x+3)(x-3) $, the expression above simplifies to \begin{array}{l}
\dfrac{(x+3)(x-3)(3)+(x-3)(5)-(x+3)(x)}{(x+3)(x+3)(x-3)}
\\\\=
\dfrac{(x^2-9)(3)+5x-15-x^2-3x}{(x+3)(x+3)(x-3)}
\\\\=
\dfrac{3x^2-27+5x-15-x^2-3x}{(x+3)(x+3)(x-3)}
\\\\=
\dfrac{(3x^2-x^2)+(5x-3x)+(-27-15)}{(x+3)(x+3)(x-3)}
\\\\=
\dfrac{2x^2+2x-42}{(x+3)(x+3)(x-3)}
\\\\=
\dfrac{2(x^2+x-21)}{(x+3)^2(x-3)}
.\end{array}