My first semester of college I had calculus and failed my first two exams barely, but then got a 70 on the third. For the finalexam i got a 35
My grade for the semester was a 59. But he changed it to a 60 so I could get a D and not fail. I retook the class and got an A though.
It was so stressful but, I've never done that bad in any class before.
Good luck, just do your best and try not to stress over it. Pray for a curve.