Use the Factor Theorem to determine whether g(x) is a factor of p(x) in each of the following cases:(i) p(x) = 2x 3 + x 2 – 2x – 1, g(x) = x + 1(ii) p(x) = x 3 + 3x 2 + 3x + 1, g(x) = x + 2(iii) p(x) = x 3 – 4x 2 + x + 6, g(x) = x – 3