Q: Solve:
Solve 1873 = 199*s - 2801 + 495 for s.

A: 21

Q: Solve:
Solve -276*d - 166*d + 31391 + 10709 + 18896 = 0 for d.

A: 138

Q: Solve:
Solve -57*g - 48*g + 252 = -126*g for g.

A:
-12