Q: Solve:
Solve 1895 = -36*x + 40*x - 138*x - 3331 for x.

A: -39

Q: Solve:
Solve -114*n - 31 = -1171 for n.

A: 10

Q: Solve:
Solve -55 - 155 = 18*w - 123*w for w.

A:
2