The document discusses four categories of reasoning that teachers demonstrated when deciding how to respond to students who need help solving problems: 1) the student's mathematical thinking, 2) the teacher's mathematical thinking, 3) the student's affect, and 4) general teaching moves. It analyzes sample responses from teachers who watched a video of a student, Rex, solving math problems. The best response focused on Rex's mathematical thinking by noting strategies he used and how to build on that thinking, while others focused more on teaching strategies or Rex's emotions.