\(A=\dfrac{x^2+x-6}{x^2+6x+9}=\dfrac{\left(x-2\right)\left(x+3\right)}{\left(x+3\right)^2}=\dfrac{x-2}{x+3}=\dfrac{x+3-5}{x+3}=1-\dfrac{5}{x+3}\in Z\\ \Rightarrow x+3\inƯ\left(5\right)=\left\{-5;-1;1;5\right\}\\ \Rightarrow x\in\left\{-8;-4;-2;2\right\}\)