Q: Solve:
Solve 146*d = 181*d + 350 for d.

A: -10

Q: Solve:
Solve -716*d - 3664*d = 302*d + 23410 for d.

A: -5

Q: Solve:
Solve 8*g + 77*g + 58*g = -71*g + 1926 for g.

A:
9