You didn’t say how much effort you were putting in. If you are not attending every class, getting help from the TA, reading the book regularly, and looking at the Khan academy videos, then doing these things could really help you do better for the rest of the semester.