question: Teacher asked me this: Solve 49*k - 147 - 317 = 53*k for k.
++++++++++
answer: -116

question: Teacher asked me this: Solve 27*p + 5 = 32*p for p.
++++++++++
answer: 1

question: Teacher asked me this: Solve 0 = -24*h + 21*h - 21 for h.
++++++++++
answer: -7

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