Telefona gönder: Understanding and Supporting Student Problem Solving in Mathematics Exams with Artificial Intelligence