Complex sentence: The palaestra functioned both independently and as a part of public gymnasia; a palaestra could exist without a gymnasium, but no gymnasium could exist without a palaestra.
Split into simpler sentences: The palaestra functioned both independently and as a part of public gymnasia. A palaestra could exist without a gymnasium, but no gymnasium could exist without a palaestra.