Math problem: Solve -645*w + 631 - 1320 = -798*w + 2677 for w.
What is the solution?
22