Question: What is the solution?

Solve 3901 = 126*r + 877 for r.

Answer: 24

Question: What is the solution?

Solve -132*p + 86*p = 164*p - 1260 for p.

Answer: 6

Question: What is the solution?

Solve -53*m + 69*m = 0 for m.

Answer: 0

Question: What is the solution?

Solve 40*m + 35*m - 9 = 76*m for m.

Answer:
-9