Help with CSU college apps?

Hello! I really need to submit my college app but I’ve run into a problem.

So on CSU mentor it says if you’ve repeated any courses to just enter the highest grade you received, but for any summer school class to enter it separately on a new line.

I took Algebra 2 in the 2013-14 school year and received a D for semester 1 and a C for semester 2. However i made up semester 1 the summer after and received a B(the summer school course counts for the 2014-15 school year). So my question is, do i replace my D with the B i received in summer school? or do i use a new line because it’s summer school course?

Any help is appreciated!! Thank you C: