The speed with which a galaxy was moving toward or away from us was relatively easy to measure due to the Doppler shift of their light

Could you correct the punctuation please?
The speed with which a galaxy was moving toward or away from us was relatively easy to measure due to the Doppler shift of their light.