Use the factor theorem to determine and state whether g(x) is a factor of p(x) in each of the following cases: