Complex sentence: The main school building was originally in two parts but was joint with a second building.
Split into simpler sentences: The main school building was originally in two parts. But was joint with a second building.