What is the solution to this math problem?
Solve -2889*w - 8777 + 6777 = 1219*w - 26648 for w.
6