Question: What is the solution?

Solve 0 = -3*q + 358 - 349 for q.

Answer: 3

Question: What is the solution?

Solve -426 = -16*p + 145*p - 58*p for p.

Answer: -6

Question: What is the solution?

Solve -14*n - 570 + 500 = 0 for n.

Answer: -5

Question: What is the solution?

Solve 71 - 131 = 12*z for z.

Answer:
-5