Which law of the planetary motion is referred to as the ratio of the squares of the periods of any two planets is equal to the ratio of the cubes of their average distances from the sun?

This law of planetary motion is known as Kepler's third law.