Retaking courses

<p>Situation: If I took AP World History during sophomore year and got 2 D’s. I made it up in the summer by taking Regular World History and got 2 A’s. Also, I got a D in Honors English during Sophmore year and I retook regular English during the summer and got an A. How do I calculate the retaken courses and does it have any affect that I took a regular course after failing an AP and an Honors course?</p>