Write down the solution for this math problem: Solve -240 = -31*w + w for w.
8