Math problem: Solve 37*m = 8*m + 290 - 580 for m.
What is the solution?
-10