Question: What is the solution?

Solve 120*g - 96 = 9*g + 974 + 40 for g.

Answer: 10

Question: What is the solution?

Solve 1092*u = 1008*u - 672 for u.

Answer: -8

Question: What is the solution?

Solve -180993 = 7929*p + 540546 for p.

Answer: -91

Question: What is the solution?

Solve 3*w = -5*w + 40 for w.

Answer:
5