College application question?

Hi, I’m currently filling out my UC application and I had a question about the academic history section.
Between 9th and 10th grade I took FR-1 (French 1) at a community college to fulfill my two years of LOTE requirement. On the UC app, under subject area/course category, do I list it as ‘year 1 lang other than english’ or ‘year 2’? Like I said the summer course fulfills the UC and CSU requirement for two years, I just don’t know how to list it.
Also, that same summer between 9th and 10th, I took a math course (algebra 2) to try and get ahead for the next year at a community college. However, I got a D. I talked to my counselor and what I did was ‘repeat’ algebra 2 honors my sophomore year and I got a B both semesters. Currently the summer math course is listed on my transcript but it shows as 0 credits attempted and 0 credits earned (so it means nothing) and it is not counted in my overall GPA, its simply just listed. Do I still add it on my applications?
Thank you!!!