m5 midterm re test 2024