Write down the solution for this math problem: Solve 231 = 32*w + 487 for w.
-8