The spectrum of galaxy A and galaxy B both contain the H-alpha emission line, which is normally seen at 653nm. However, in galaxy A the line has an observed wavelength of 710nm, whereas in galaxy B the wavelength is 685nm. Which galaxy is farther away?