What is the solution to this math problem?
Solve 1170 + 4655 = 546*w - 5641 for w.
21