we know that
The distance from the sun to earth is equal to 1 AU
1 AU (Astronomical Unit) is equal to 150 million km
in this problem
by proportion
8 min/1 AU=240 min/x
8*x=240
x=30 AU
convert to km
30*150 million km-----> 4500 million km
the answer is
the distance from the sun to neptune is 30 AU (4500 million km)