\(\left(x-3\right)\left(2x^2+ax+b\right)=2x^3-8x^2+9x-9\)
\(\Leftrightarrow\left(x-3\right)\left(2x^2+ax+b\right)=2x^3-6x^2-2x^2+6x+3-9\)
\(\Leftrightarrow\left(x-3\right)\left(2x^2+ax+b\right)=2x^2\left(x-3\right)-2x\left(x-3\right)+3\left(x-3\right)\)
\(\Leftrightarrow\left(x-3\right)\left(2x^2+ax+b\right)=\left(x-3\right)\left(2x^2-2x+3\right)\)
Vậy \(a=-2;b=3\)