Can you help me to solve this problem?

I tried again and again But couldn’t figure out the answer. Can you help me solving this question?

I don’t remember how I did it the first time, but you probably have to use Kepler’s 3rd law. A generalized problem can be found in the gravitation chapter of HRK.