A polynomial P is divided by 2×-1, the quotient is x square+x+1 and the remainder is -2 find P?

2 answers

P * x^2+x+1 + (-2) = divisor.
Is the divisor 2x-1 or 2 into(or) multiplied by -1 ?
p(x) = (x^2+x+1)(2x-1) + (-2)