It didn’t take long for a math teacher and student to put one and one together, and she’s paying a hefty price