Question:
Solve 151*g - 318*g = -157*g - 310 for g..

Answer:
31

Question:
Solve 25*r - 276 = 66*r + 339 for r..

Answer:
-15

Question:
Solve 0 = 979*h - 951*h + 175 + 123 - 1670 for h..

Answer:
49

Question:
Solve 1023*b + 13695 = 12000 + 49776 for b..

Answer:
47