In a right triangle, one of the legs is 5 cm smaller than the hypotenuse, and the other leg is 10 cm smaller than the hypotenuse. Find the length of the hypotenuse.