Answer:

Step-by-step explanation:
Given:
Distance from Sun to Andromeda galaxy (D) = 
Speed of light (s) = 
Now, we need to find the time required for light to reach the galaxy from the Sun.
Let the time be 't' years.
Now, we know that, distance traveled by the light will be equal to the product of its speed and time taken by it. Therefore, framing in equation form, we get:

Now, plug in the given values and solve for time 't', This gives,

Therefore, light will reach the Andromeda galaxy in
.