Let f(x) be a polynomial such that f(0) = 4, f(1) = 8, and f(2) = -6. Find the remainder when f(x) is divided by x.