You are the science officer on a visit to a distant solar system. Prior to landing on a planet you measure its diameter to be 1.8*10^7 m and its rotation period to be 22.3 hours. You have previously determined that the planet orbits 2.2*10^11 m from its star with a period of 402 earth days. Once on the surface you find that the free-fall acceleration is 12.2 m/s^2.
1.) what is the mass of the planet?
2.) what is the mass of the star?