The scientists used the Hubble to figure out the direction of the star's travels and the distance from the galactic center, along with the star's mass, age and speed.
H0 is the Hubble constant, or parameter that indicates the rate at which the universe is expanding; and distance is the galaxy's distance from the one with which it's being compared.