ax-b is a factor of a polynomial f(x) if and only if f(b/a) = 0.