Since f(3) = 0, then (x - 3) is a factor of f(x).
Dividing f(x) by (x - 3), we get 2x2+3x−2.
2x2+3x−2=2x2−x+4x−2
x(2x−1)+2(2x−1)=(x+2)(2x−1)
Therefore, f(x)=(x−3)(x+2)(2x−1)