question: Teacher asked me this: Solve 51*r - 1664 = -77*r for r.
++++++++++
answer: 13

question: Teacher asked me this: Solve -142*w = -149*w for w.
++++++++++
answer: 0

question: Teacher asked me this: Solve -469*d - 272*d - 63706 = -145*d + 606*d for d.
++++++++++
answer: -53

question: Teacher asked me this: Solve 57132 = 2856*p + 2142*p - 7842 for p.
++++++++++
answer:
13