a: \(D=B\cdot C\)
\(=\left(\dfrac{x}{x+3}+\dfrac{2x-9}{x^2-9}+\dfrac{3}{x-3}\right)\cdot\dfrac{x+3}{x}\)
\(=\dfrac{x^2-3x+2x-9+3x+9}{\left(x-3\right)\left(x+3\right)}\cdot\dfrac{x+3}{x}\)
\(=\dfrac{x^2+2x}{x-3}\cdot\dfrac{1}{x}=\dfrac{x+2}{x-3}\)
b: Để D nguyên thì \(x-3\in\left\{1;-1;5;-5\right\}\)
hay \(x\in\left\{4;2;8;-2\right\}\)