A polynomial function q has values given in the table above. Which of the following expressions must be a factor of q(x)?
(x−1)
(x+1)
x(x+1)
x(x−1)