Phil solves a problem that math teacher Mr Hackett says is impossible - and Keeley blurts out his answer in class. She's moved to the advanced math class and Phil has to come to her rescue.