the hypotenuse of the right angle triangle is h = 5 ft
it is given that
the shorter leg is 1 ft shorter than the longer leg.
let the shorter leg is a and longer leg is b
the
b - a = 1
b = 1 + a
in the traingle using Pythagoras theorem,

put he values,



a + 4 = 0
a = - 4
and
a - 3 = 0
a = 3
so, the longer leg is b = a + 1 = 3 + 1 = 4
thus, the answer is
shorter leg = 3 ft
longer length = 4 ft
hypotenuse = 5 ft