Question: what is the general relationship between a galaxy's distance from earth?
Answer: Hubble's law, also known as the Hubble–Lemaître law, is the observation in physical cosmology that galaxies are moving away from the Earth at speeds proportional to their distance. In other words, the further they are the faster they are moving away from Earth.