Given,
The mass of the 1st planet is m
The mass of the 2nd planet is 2m
Let the distance of the lighter planet from its star be r.
Then the distance of the massive planet from the star is 4.5r
Let us assume that the mass of the star is M.
The ratio of the orbital velocity of the two planets is given by,
Where v₁ is the orbital velocity of the 1st planet, v₂ is the orbital velocity of the 2nd planet, and G is the gravitational constant.
The ratio of the orbital period of the two planets is given by,
Where T₁ is the orbital period of the 1st planet and T₂ is the orbital period of the 2nd planet.
On substituting the ratio of the orbital velocity,
Therefore the ratio of the orbital periods is T₁:T₂