For the polynomial function f(x) = x3 - 2x2 - 5x +6, we have f(0) = 6, f(2) = -4, f(-2) = 0, f(3) = 0, f(-1) = 8, f(1) = 0. Rewrite f(x) as a product of linear factors.