Complex sentence: This theory changed the way the viewpoints of moving observers should be related to each other in such a way that velocity of electromagnetic waves in Maxwell's theory would be the same for all observers.
Split into simpler sentences: This theory changed the way the viewpoints of moving observers were related to each other. They became related to each other in such a way that velocity of electromagnetic waves in Maxwell's theory would be the same for all observers.