How can astronomers tell what a distant object's velocity is?
A by measuring the redshift or blueshift of the object
B by looking for particular lines in its spectrum
C by the frequency of the electromagnetic radiation it gives off
D by timing how long it takes light to reach the object and return
it is A