According to the formula of the law of universal gravitation, the relationship between the cube of radius and the square of period, and the relationship between acceleration and period can be derived respectively.
Then, the relationship between acceleration a and period t is obtained by combining two formulas. Then the ratio of a 1 to a2 is obtained.