Solve the all part of following problem-
Problem- Two planets P1 and P2 orbit around a Star S in circular orbits with speeds v1=42.86 km/s, and v2=56.2 km/s respectively.
Part 1- If the period of the first planet P1 is 770 years what is the mass of the star it orbits around?
Part 2-(b) Determine the orbital period of P2.
I need help to solve the above problem.