Solve -5*w + 31 + 8 = 9 for w.
Solve this problem.
6