Q: Solve:
Solve 118*m - 647 = 23*m + 493 for m.

A: 12

Q: Solve:
Solve -2767*w + 2142 = -954 - 2438 for w.

A: 2

Q: Solve:
Solve 112*i + 522*i + 653*i - 51181 = -364*i for i.

A:
31