Answer: Galaxy A is farther away since it has a wavelength of 710nm as compared to Galaxy B with a wavelength of 685nm nearest to H-alpha emission line with wavelength 653nm.