If you can do it again, you can grade it, and you need to have a good relationship with the teacher (and make sure that this retest will not be reflected in the report card)
However, some schools don't agree with scoring, so they can only make-up exams (that is, make-up exams = retake exams, but how many points make-up exams count as 60). In this case, it is no good. You can explain the situation to professional teachers in your junior year and try to improve your professional performance.