question: Teacher asked me this: Solve -40 = 8*w - 16 for w.
++++++++++
answer: -3

question: Teacher asked me this: Solve 865*b = -9*b - 58*b + 24232 for b.
++++++++++
answer: 26

question: Teacher asked me this: Solve -90 = -0*n - 18*n for n.
++++++++++
answer: 5

question: Teacher asked me this: Solve -252 + 25212 = 1040*q for q.
++++++++++
answer:
24