So I'm a high school student and I'm stuck on a question. Please help.
$f(x)=(x-1)^2Q(x)+3x+1$
$f(x)=(x+2)Q(x)+4$
$f(x)=(x-1)^2(x+2)Q(x)+R(x)$
My first approach was Making $R(x)=ax^2+bx+c$, I soon found out that there are only two equations not three to find $a, b, c$
I don't understand how to solve this.