ĐKXĐ:\(x\ne\pm3\)
\(\dfrac{x}{x^2-9}+\dfrac{2}{x^2+6x+9}=0\\ \Rightarrow\dfrac{x\left(x+3\right)}{\left(x-3\right)\left(x+3\right)^2}+\dfrac{2\left(x-3\right)}{\left(x-3\right)\left(x+3\right)^2}=0\\ \Rightarrow\dfrac{x^2+3x+2x-6}{\left(x-3\right)\left(x+3\right)^2}=0\\ \Rightarrow x^2+5x-6=0\\ \Rightarrow\left(x-1\right)\left(x+6\right)=0\\ \Rightarrow\left[{}\begin{matrix}x=1\left(tm\right)\\x=-6\left(tm\right)\end{matrix}\right.\)