\(C=\frac{\left(x+3\right)^2-2x^2+6+x\left(x-3\right)}{x^2-9}.\frac{2x^2-18}{6x-12}\)\(\)
\(C=\frac{x^2+6x+9-2x^2+6+x^2-3x}{x^2-9}.\frac{2\left(x^2-9\right)}{6x-12}\)\(C=\frac{3x+15}{6x-12}.2=\frac{x+5}{x-2}=1+\frac{7}{x-2}\)
Để C nguyên =>(x-2) thuộc Ư(7) \(\Rightarrow x\in\left\{3;1;9;-5\right\}\)