a: \(P=\dfrac{x^2-x-18+2x+6-4x+12}{\left(x-3\right)\left(x+3\right)}\)
\(=\dfrac{x^2-3x}{\left(x-3\right)\left(x+3\right)}=\dfrac{x}{x+3}\)
b: P=2/3
=>x/(x+3)=2/3
=>3x=2x+6
=>x=6(nhận)
c: P nguyên
=>x chia hết cho x+3
=>x+3-3 chia hết cho x+3
=>x+3 thuộc {1;-1;2;-2}
=>x thuộc {-2;-4;-1;-5}