Complex sentence: In Morocco, it would correspond to the sixth and the last year of elementary school, it's the last year before middle school.
Split into simpler sentences: In Morocco, it would correspond to the sixth and the last year of elementary school. It is the last year before middle school.