One of the legs of a right triangle measures 3 cm and its hypotenuse measures 6 cm. Find the measure of the other leg