Complex sentence: Sometimes, it might be useful to add magnitudes, for example, to determine the combined magnitude of a double star when the magnitude of the individual components are known.
Split into simpler sentences: Sometimes, it might be useful to add magnitudes. For example, to determine the combined magnitude of a double star when the magnitude of the individual components are known.