What is the solution?

Solve 1305 - 268 = -21*m - 40*m for m.
-17