When 10x^3+mx^2-x+10 is divided by 5x-3, the quotient is 2x^2+nx-2 and the remainder is 4. Find the values of m and n.

The quotient multiplied by the divisor added to the remainder should equal the dividend, so:

Expand the right side:

Cancel Terms:

Factor:

Cancel:

Isolate m:

Sub m into initial equation to solve for n:

Expand:

Collect Like Terms:

Now at this point, I realized that both sides were equal, and that I must have done something very, very wrong ;\. However, I worked through it again and got the same result.

Can someone point out what I'm doing wrong here? This question is driving me nuts.

any help will be much appreciated,

Coukapecker