One of Kepler's laws states tht the orbital velocity = 2piR/T where R is the radius from the center and T is the period. To find R, rearrange and solve for R = 1.5E11 meters knowing that T=365 days.
D=speed * time so the time for light to travel from the sun to the earth = 1.5E11/3E8=.5E3 or 500 seconds