He could go and ask the teacher if it was okay for him to teach Satou. I doubt the teacher actually likes to stay behind instead of going home. As it is, it doesn't look like the teacher taught Satou anything afterwards, he only gave her more problems to solve and went back to the office to drink coffee or whatever.