Question: how to find the distance of quasars?
Answer: At that distance, a quasar is too small for us to measure its size directly, but we can do it indirectly by measuring the variation in a quasar's brightness. Take, for example, the brightest quasar in our sky (in the visible spectrum) known as 3C 273. It's redshift puts it at about 2.5 billion light years away.