As 1 light year is the distance travelled by light in vacuum in one year therefore distance of quasar from earth is 3× 10^ 9 light years