Witch one is moving away from us the slowest.

Answer:
Red wavelengths are longer than blue wavelengths.
The star moving the fastest (away) would be shifted towards the longer wavelength.
Star D is shifted the least and hence is the closest.