h=17.therefore, lngth of longer leg = h-2=17-2=15m-x = length of the hypotenusex - 2 = longer legthen, since this is a right triangle, we know a^2 + b^2 = c^2, or 8^2 + (x - 2)^2 = x^2.......
then,pythagoreas theorem,
h^2 = (h-2)^2 + 8^2
or, h^2 = h^2 -4h +4 +64
or, 4h=68
or, h=17.
therefore, lngth of longer leg = h-2=17-2=15m