Latest exam Aptitude Question SOLUTION: The hypotenuse of a right triangle exceeds the longer of the two legs by 2. If the perimeter of the triangle is 40, find the lengths of the sides of the triangle.