Complex sentence: The village has an elementary school up to 5th grade and a girls school up to eighth grade, after which students have to trek 3 km daily to a nearby village having schooling facilities up to 12th grade.
Split into simpler sentences: The village has an elementary school up to 5th grade and a girls school up to eighth grade. For higher schooling, students have to trek 3 km daily to a nearby village having schooling facilities up to 12th grade.