4. On dividing by a polynomial g(x), the quotient and remainder were (x-2) and (-2x+4) respectively. Find g(x).
q(x) = (x-2) and r(x) = (-2x+4).
According to Polynomial Division Algorithm, we have
So, Dividing by , we get
Therefore, we have