A man teaches mathematics to a class .