You would think that, instead of trying to get middle school math into the application, they would just use CSU validation rules: http://admission.universityofcalifornia.edu/counselors/files/csu-uc-a-g-comparison-matrix.pdf
I.e. algebra 2 validates algebra 1, and any “advanced math” (precalculus or calculus) validates algebra 2, algebra 1, and geometry (or integrated math 1-3 for integrated math curricula). Then, for the purpose of counting additional high school math courses to the MCA score, they just need to count semesters of precalculus and calculus.
Foreign language can also be done similarly – completion of high school level N validates all levels from 1 to N-1, so they just need to look at what the highest level completed is.