Your givens are not shown but the distance between earth and the sun is approximately 1.5 x 10^11 meters and the speed of light is approximately 3x10^8 m/s
For that light from the sun to reach earth, it will have to travel 1.5 x 10^11 meters at a speed of 3 x 10^8 m/s
We can use this equation
speed = distance/time
Solve for time
Time = distance/speed
Substitute
Time = (1.5x10^11)/(3x10^8) = 500 seconds
We can convert that to minutes:
500/60 = 8.3 minutes
Hope this helps