(a) . Gravity provides the centripetal force, so and (about the mass of the Sun).
(b) Both planets orbit the same star, so is the same for both: . So .
(c) , so . (Numerically and .)
(d) In the planet’s mass appears on both sides and cancels, so the orbital radius and period depend only on the star’s mass : they carry no information about .