Complex sentence: When the light is lit, the cab is empty and available; when it is not lit, the cab is unavailable.
Split into simpler sentences: When the light is lit, the cab is empty and available. When it is not lit, the cab is unavailable.