Show what is described arranged in whatever way works.
one leg x+2
other leg (shorter leg) x
hypotenuse x+7
If this is a reasonable right triangle then and you solve this...
checking with T. Inequality Thm.
(adjusted)
x+2+x>x+7
2x>x+5
x>5
-
x+2+x+7>x
x>-9
-
x+x+7>x+2
x>-5
-
all seem ok
Solve Equation