The shorter leg of a right triangle has length 5 cm, and the longer leg has length 7 cm. How long is the hypotenuse? (Round to one decimal place.)