I had to help a student earlier this semester with a similar problem. This is based on Kepler's third law. In this case, all we need is the equation that relates the period (P) with the size of the orbit (a).

Kepler's third law states:

P^{2} = a^{3}

So in this case

P = √39.5^{3}