Question: What is the solution?

Solve 3729 = -146*p + 1247 for p.

Answer: -17

Question: What is the solution?

Solve -49*h = 42*h - 22*h for h.

Answer: 0

Question: What is the solution?

Solve -406 = -80*j + 22*j for j.

Answer: 7

Question: What is the solution?

Solve 3*m = 63 - 66 for m.

Answer:
-1