The shortest side of a right triangle measures 7 m. the lengths of the other two sides are consecutive integers​ - the hypotenuse being the longer of the two. find the lengths of the other two sides.