Middle School Grades in CSU

My son moved to US during second semester of 8th grade and tested into Algebra 1. He did second semester of Algebra 1 in California middle school and scored A. However he did the first semester of Algebra 1 equivalent math course in foreign country.
How do I enter this in Middle School grade section of CSU application.
He is thinking of marking Eight grade Algebra 1 first semester as No course and Second semester as A .

What you posted is correct and then he would need to enter the information from the non-US school in a separate line under that school.

Thank you @Gumbymom . Appreciate your response.