Complex sentence: The town is surrounded by mountains on three sides which are within two kilometers from the city.
Split into simpler sentences: The town is surrounded by mountains on three sides. The mountains are within two kilometers from the city.