Physics is based upon knowledge you learn in pre-calculus. In most cases, one needs to know the material in pre-calculus to do well in physics. That’s why it’s a prerequisite for the class. Barring unusual circumstances, a D+ in a class indicates that a student doesn’t have great mastery of the material, which is why many colleges will require a retake of a class in which a D+ is earned. I’m not saying OP should consider retaking because they are incapable of performing well in physics; I’m suggesting considering a retake because the OP may not have the knowledge and skills necessary to perform well in physics 2.
I think college students (and entering HS students) share a common fallacy that resources (and especially, a “decent” or “good” professor) and effort are all that’s really necessary to perform well in the class, which probably explains why I had so many students coming to me with their Cs and Ds at the end of the semester exclaiming “But I worked so hard!” It is possible to work very, very hard and still struggle to grasp the material and not do well in the class. It’s even more likely if there is prerequisite material one needs to succeed, but one does not have that prerequisite material. (And students give the quality of the professor’s teaching far too much credit in their performance. Unfortunately, they are also not great at judging the teaching effectiveness of professors, either.)