where p(x) = x^3 – x + 1. g(x) = 2 – 3x