Two planets, A and B, orbit a star. Planet A moves in an elliptical orbit whose semi major axis has length a. Planet B moves in an elliptical orbit whose semi major axis has a length of 9a. If planet A orbits with a period T, what is the period of planet Bs orbit?