Question 1187325
.
<pre>

To find the shorter leg, write and solve this Pythagorean equation


     x^2 + (x+17)^2 = 25^2.


The length of the longer leg is (x+17) cm then.
</pre>