What is the solution?

Solve 796*m + 304400 = -6814*m for m.
-40