Q: Solve:
Solve 2237 = -40*g - 204*g + 16145 for g.

A: 57

Q: Solve:
Solve 65*f = 66*f + 2 for f.

A: -2

Q: Solve:
Solve 6*w = -264 + 270 for w.

A:
1