What is the solution?

Solve -34*w = -59*w - 323*w + 7796 + 8212 for w.
46