On dividing x3-3x+x+2 by polynomial g (x)the quotient and remainder were x-2 and -2x+4 respectively find g (x)

 

's image