How do you use the factor theorem to determine whether x-2 is a factor of f(x) = 2x³-9x²+7x+6?