Question 4 On dividing x3−3x2+x+2 by a polynomial g(x), the quotient and remainder were x−2 and −2x+4, respectively. Find g(x).