Q: Solve:
Solve -6*m - 51 = -15 for m.

A: -6

Q: Solve:
Solve 0 = 5*n + 464 - 514 for n.

A: 10

Q: Solve:
Solve 8*w + 31 = 15 for w.

A:
-2