A math teacher solves a problem with her students.