Question: What is the solution?

Solve 49*p + 18364 - 29487 = -849*p + 29287 for p.

Answer: 45

Question: What is the solution?

Solve -80*i - 834 = 27*i - 513 for i.

Answer: -3

Question: What is the solution?

Solve -316 = 5*g - 326 for g.

Answer: 2

Question: What is the solution?

Solve 16*d = -6*d + 44 for d.

Answer:
2