Let $P(x)$ be a cubic polynomial such that $P(0) = -3$ and $P(1) = 4.$ When $P(x)$ is divided by $x^2 + x + 1,$ the remainder is $2x - 1.$ What is the quotient when $P(x)$ is divided by $x^2 + x + 1$?
Here is my go at it:
Let us make the polynomial:
ax^3+bx^2+cx+d, when 0 is plugged in, this equation gives -3, therefore d=-3
next, P(1)=4 so a*1+b*1+c*1-3=4, therefore, a+b+c=7, what do I do know? I am really confused.