I know from laboratory measurements that the rest wavelength of this hydrogen line is 6563 angstroms.
Given this data, compute the redshift and radial velocity of galaxies 1 and 2.
This Tutorial might help.