Complex sentence: When only one hemisphere is sleeping, only the contralateral eye will be shut; that is, when the right hemisphere is asleep the left eye will be shut, and vice versa.
Split into simpler sentences: When only one hemisphere is sleeping, only the contralateral eye will be shut. That is, when the right hemisphere is asleep the left eye will be shut, and vice versa.