This happened to me in Chemistry, which is worse because it's a science but I retook the same course with the same school and read over the policy which says the last class GPA is what counted but that both would show up in the transcripts. Also I have since learned to take a few hrs to check every professor on ratemyprofessor and myedu which shows grade stats on teachers. The first professor I had was absolutely HORRIBLE coupled with my not liking chemistry and also a death in the family, my grade was bad.