Maths teacher is trying hard to pass