question: Teacher asked me this: Solve -27 = d + 8*d for d.
++++++++++
answer: -3

question: Teacher asked me this: Solve 0 = -105*d + 490*d + 396*d + 25773 for d.
++++++++++
answer: -33

question: Teacher asked me this: Solve -20*i + 13*i - 16 = -11*i for i.
++++++++++
answer: 4

question: Teacher asked me this: Solve -989 + 973 = 2*z for z.
++++++++++
answer:
-8