Question: What is the solution?

Solve 161*g - 21*g + 368 + 5761 = -3811 for g.

Answer: -71

Question: What is the solution?

Solve 22 - 46 = -6*q for q.

Answer: 4

Question: What is the solution?

Solve -993*m + 11998*m = 1625*m - 187600 for m.

Answer: -20

Question: What is the solution?

Solve -48 = -2*u - 40 for u.

Answer:
4