A right triangle has a hypotenuse that is 6 m longer than 2 times the shortest side and the third side is 2 m shorter than the hypotenuse. Find the area of the triangle.