Answer:
4 AU
Step-by-step explanation:
We can solve the problem by using Kepler's third law, which states that the ratio between the square of the period of revolution of a planet around the Sun and the cube of its average distance from the Sun is constant for every planet orbiting the Sun:

where
T is the orbital period
r is the average distance of the planet from the Sun
If we take two planets 1 and 2, the equation can be rewritten as

In this problem, we have:
is the orbital period of the Earth
is the distance of the Earth from the Sun
is the orbital period of the second planet
Therefore, we can re-arrange the equation to calculate r2, the averag distance of the other planet from the Sun:
![(r_2^3)/(T_2^2)=(r_1^3)/(T_1^2)\\r_2 = \sqrt[3]{(r_1 ^2 T_2^2)/(T_1^2)}=\sqrt[3]{((1 AU)^3(8 y)^2)/((1 y)^2)} =4 AU](https://img.qammunity.org/2019/formulas/physics/middle-school/4nhzpsaaspabz5jxgjw2xpuc8x3q8kfue1.png)