The recessional velocity can be measured by observing the wavelength shifts of spectral lines emitted by the object, known as the object's cosmological redshift.
To answer both it is necessary to know two things: how far away certain galaxies are and how fast they are flying away from us (what is known as their recessional velocity).
To answer both, it is necessary to know two things—how far away certain galaxies are, and how fast they are flying away from us—what is known as their recessional velocity.
天文学百科 The Astronomy Book (Big Ideas Simply Explained)
The study of Cepheids was also employed by Hubble in his discovery of the relationship between the distance and recessional velocity of galaxies, leading to confirmation that the universe is expanding.