Question: What is the solution?

Solve 4840 = 791*i - 19681 for i.

Answer: 31

Question: What is the solution?

Solve 0 = -q - 349 + 356 for q.

Answer: 7

Question: What is the solution?

Solve 456699 = -13156*w - 885213 for w.

Answer: -102

Question: What is the solution?

Solve -31*w + 145 = -2*w for w.

Answer:
5