\(a,A=\dfrac{x^2-3x+2+x^2+3x+2-x^2+2x-4}{\left(x+2\right)\left(x-2\right)}=\dfrac{x^2+2x}{\left(x+2\right)\left(x-2\right)}\\ A=\dfrac{x\left(x+2\right)}{\left(x+2\right)\left(x-2\right)}=\dfrac{x}{x-2}\\ b,A=\dfrac{x-2+2}{x-2}=1+\dfrac{2}{x-2}\in Z\\ \Rightarrow x-2\inƯ\left(2\right)=\left\{-2;-1;1;2\right\}\\ \Rightarrow x\in\left\{0;1;3;4\right\}\)