a, b, and c are the legs
one is 5 longer than other
a=5+b
if hypothuse is 25 then c=25
remember, if the legs are a and b and the hypothuse is length c then

so
wait, a=5+b so subsitute 5+b for a



minus 625 from both sides

factor out the 2

what 2 numbers multiply to get -300 and add to get 5?
20 and -15

set to zero
b+20=0
b=-20
false, can't have negative length of leg
b-15=0
b=15
b=15
a=5+b
a=5+15
a=20
the lengths of the legs are 20in and 25in