One leg of a right triangle has a length of 5 m. The other sides have lengths that are consecutive integers. Find these lengths.

The other leg is ____ m

The length of the hypotenuse is ____ m