Question: What is the solution?

Solve -227*w = 50*w - 3188 - 1798 for w.

Answer: 18

Question: What is the solution?

Solve -17*x + 51*x + 118*x = -304 for x.

Answer: -2

Question: What is the solution?

Solve -6 - 7 + 53 = -20*g for g.

Answer: -2

Question: What is the solution?

Solve 3*n - 6 = -21 for n.

Answer:
-5