Complex sentence: Then it goes through the Comarca of Garraf from north to the south where it ends into the Mediterranean Sea west of the village of Cubelles.
Split into simpler sentences: Then it goes through the Comarca of Garraf from north to the south. It ends into the Mediterranean Sea west of the village of Cubelles.