Use the factor theorem to determine whether g(x) is a factor of p(x) in the given expression p(x) = 2x3 + x2 - 2x - 1,g(x) = x + 1