question: Teacher asked me this: Solve 122*p = -266*p + 28*p - 814 - 6386 for p.
++++++++++
answer: -20

question: Teacher asked me this: Solve -1023*w + 1457*w - 9548 = 0 for w.
++++++++++
answer: 22

question: Teacher asked me this: Solve 0 = 3*a + 78*a - 729 for a.
++++++++++
answer: 9

question: Teacher asked me this: Solve -9*q - 6 = -7*q for q.
++++++++++
answer:
-3