Solve this math problem

Solve -4445*w + 1204*w + 504798 = 6375*w + 1716414 for w.
-126