How you earn high school credit and how much you need in order to graduate