I have the following problem:
Find the remainder of $f(x)=2x^3-7x^2-19x+8$ is divided by $x^2-4x-5.$
An classmate said to equate coefficients, but I do not know what they referred to.
I have no idea how to proceed with this problem. Whether it's a hint or a full solution, any help would be appreciated.