Complex sentence: The town has two Primary Schools and Preston Lodge High School, and also has a train station, which is on the Edinburgh-North Berwick line.
Split into simpler sentences: The town has two Primary Schools and Preston Lodge High School. Prestonpans railway station is on the Edinburgh-North Berwick line.