Q: Solve:
Solve 4 = -8*g + 12*g for g.

A: 1

Q: Solve:
Solve 19*g = 69 - 12 for g.

A: 3

Q: Solve:
Solve 0 = p + 4*p + 15 for p.

A:
-3