Can anyone Hele please I don't know how to convert the light years in order to get an equation like the one on Alpha Centauri in the picture, but I do know how to log it.

Answer:
Log 10 ( 4.16x10^16)
Explanation:
Other distance from sun you have to search by your self then apply the equation Log 10 ( distance from sun )