Complex sentence: The middle school consists of grades 6-8 and the high school consists of grades 9-12.
Split into simpler sentences: The middle school consists grades 6-8. The high school consists of grades 9-12.