Q: Solve:
Solve 282 - 274 = -8*g for g.

A: -1

Q: Solve:
Solve 39 = -486*g + 499*g for g.

A: 3

Q: Solve:
Solve 8*q - 8 = -16 for q.

A:
-1