Question: What is the solution?

Solve -128*k + 617 - 100 + 91 = -160 for k.

Answer: 6

Question: What is the solution?

Solve -5104*x = -6104*x - 18000 for x.

Answer: -18

Question: What is the solution?

Solve -2801 - 10188 - 6173 = 240*q + 10358 for q.

Answer: -123

Question: What is the solution?

Solve -8 = -5*n + 2 for n.

Answer:
2