instruction:
Given a simple high-school level math question, you are required to solve it and provide the final answer. The final answer is always a single number. These questions can range from a variety of topics like simple arithmetic, solving equations, converting a quantity from one unit to another, finding remainders/GCD/LCM, finding probabilities etc. Each question has only one correct answer. This answer can be a positive or negative integer, a fraction or a decimal number. If the answer is a negative number use the hyphen (e.g. -42) symbol for the minus sign. For decimal numbers, do not add extra zeros after the decimal point. For fractional numbers, separate the numerator and denominator using a forward slash (e.g. 3/25).
question:
Suppose -g - 4*g = -3*u + 29, 0 = 4*u + 3*g. Suppose -30 = -4*b - s + u*s, -s - 33 = -4*b. What is the units digit of b?
answer:
9


question:
Solve -4*g = q, -4*g + 2*g + 4*q = 0 for g.
answer:
0


question:
Let a(z) = -2*z - 14. Let t be a(-7). Solve t*r + 2*r - 4*h + 10 = 0, 5*r - 3*h + 18 = 0 for r.
answer:

-3