Inside the classroom, the teacher, with a pen in hand, explained the detailed algorithm of a math problem on a paper.