To find the size of an orbit from its period, undo the steps of the law in reverse. The law connects the square of the period with the cube of the size. So square the period first and then take a cube root.
A comet comes back to the Sun every 125 years. Kepler's third law reads T2=a3 when the period is in years and the size is in AU. How big is the semi-major axis of the comet's orbit, in AU?