What is the solution?

Solve -8*w + 71 = 31 for w.
5