The distance of the galaxy is given as 1025m
Speed of light is known as
Time taken is
t = distance/speed