Answer:
Part a)
![M = 7.25 * 10^(25) kg](https://img.qammunity.org/2020/formulas/physics/college/oc4aj049vatrunnzannvepjunvfmzt60rt.png)
Part b)
![M = 2* 10^(30) kg](https://img.qammunity.org/2020/formulas/physics/college/w06tyhk8zycb4odr5tmoku46rwu5w0mvx7.png)
Step-by-step explanation:
Part a)
As we know that the diameter of the planet is given as
![d = 1.8 * 10^7 m](https://img.qammunity.org/2020/formulas/physics/college/q5i03uox1ck9bqvelhbxffpyyw80css7b8.png)
now the radius of the planet is given as
![r = 9 * 10^6 m](https://img.qammunity.org/2020/formulas/physics/college/b4csho8ahotzaxwn26z9hmv5zksm94eory.png)
now we know that the acceleration due to gravity of the planet is given by the equation
![g = (GM)/(r^2)](https://img.qammunity.org/2020/formulas/physics/middle-school/kp5o2j61rs67iru3tpqkrrcblobmcbriy9.png)
here we know that
![g = 59.7 m/s^2](https://img.qammunity.org/2020/formulas/physics/college/6hmwea78w57bo5gce4oqbxzlxiw3qvb5ij.png)
now from above equation we have
![59.7 = ((6.67 * 10^(-11))M)/((9* 10^6)^2)](https://img.qammunity.org/2020/formulas/physics/college/m68ca6pstti6ce5mvcmd91f814j6jivdpk.png)
now we have
![M = 7.25 * 10^(25) kg](https://img.qammunity.org/2020/formulas/physics/college/oc4aj049vatrunnzannvepjunvfmzt60rt.png)
Part b)
Now by kepler's law we know that
time period of revolution of planet about the star is given as
![T = 2\pi \sqrt{(r^3)/(GM)}](https://img.qammunity.org/2020/formulas/physics/college/8bih3m40j1zk50qamqisxgq95enmr3bywh.png)
so we have
![(T_1^2)/(T_2^2) = (r_1^3)/(r_2^3)](https://img.qammunity.org/2020/formulas/physics/middle-school/zcrmhjejrj71a2bkm5thqf5ax4xg1hr4sx.png)
now we have
![(1^2)/(402^2) = ((1.5 * 10^11)^3)/(r^3)}](https://img.qammunity.org/2020/formulas/physics/college/bpk7a66hj32e6k3ux307jysrdcqzz5fpes.png)
![rr = 8.17 * 10^(12) m](https://img.qammunity.org/2020/formulas/physics/college/tcnx9ppd3xe0xhruvhkcjph0xrthowue6y.png)
mula of time period
![402* (365* 24 * 3600) = 2\pi \sqrt{((8.17* 10^12)^3)/((6.67* 10^(-11))M)}](https://img.qammunity.org/2020/formulas/physics/college/84navp39fwu70iyximvjfkgiew51dvmi2h.png)
Now we have
![M = 2* 10^(30) kg](https://img.qammunity.org/2020/formulas/physics/college/w06tyhk8zycb4odr5tmoku46rwu5w0mvx7.png)