Write down the solution for this math problem: Solve 76*m + 487 = 39*m + 99*m - 1125 for m.
26