Task: Question Understanding
Input (English): Solve -31 = -4*d + 7*d - 5*u, -4*u = 5*d - 10 for d.
Output (English): algebra