Q: Solve:
Solve 149*r + 61*r = 9*r - 50*r - 22339 for r.

A: -89

Q: Solve:
Solve 37*c + 9 = 83 for c.

A: 2

Q: Solve:
Solve 178 - 504 - 262 = -21*g for g.

A:
28