You are supposed to identify the category of a high-school level math question. There are five possible categories (1) algebra (2) arithmetic (3) measurement (4) numbers, and (5) probability. Use the following guidelines: (1) 'algebra' questions will typically contain letter variables and will ask you to find the value of a variable (2) 'arithmetic' questions will ask the sum, difference, multiplication, division, power, square root or value of expressions involving brackets (3) 'measurement' questions are questions that ask to convert a quantity from some unit to some other unit (4) 'numbers' questions will be about bases, remainders, divisors, GCD, LCM etc. (5) 'probability' questions will ask about the probability of the occurrence of something. A question must belong to only one category.

Calculate prob of sequence xffg when four letters picked without replacement from {g: 8, f: 4, x: 4}.
probability

Solve -9 = 4*x - 5 for x.
algebra

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.

algebra