Grade of a D+

Your advisor would be the person to ask this, so I would ask them.

However, even if a D+ technically counts, you may want to examine whether it’d be a good idea to retake anyway so you are better prepared for physics.