a: \(P=\dfrac{6x+18+6x-18+4x^2}{\left(x-3\right)\left(x+3\right)}=\dfrac{4x^2+12x}{\left(x-3\right)\left(x+3\right)}=\dfrac{4x}{x-3}\)
b: Khi x=4 thì P=4x4=16
c: Để P là số nguyên thì \(4x-12+12⋮x-3\)
\(\Leftrightarrow x-3\in\left\{1;-1;2;-2;3;-3;4;-4;6;-6;12;-12\right\}\)
hay \(x\in\left\{4;2;5;1;6;0;7;-1;9;15;-9\right\}\)