Solve -565 + 589 = 8*w for w.
3