question: Teacher asked me this: Solve -19*d + 16*d - 8*d = 39*d + 1000 for d.
++++++++++
answer: -20

question: Teacher asked me this: Solve 1108 = 40*w + 948 for w.
++++++++++
answer: 4

question: Teacher asked me this: Solve 45*m - 74 = -60*m + 31*m for m.
++++++++++
answer: 1

question: Teacher asked me this: Solve -48*q - 157 + 13 = 0 for q.
++++++++++
answer:
-3