Solve multi-step arithmetic problems.