Question 536390
One leg =x
other leg = x+8

Hypotenuse = 2x-5

By Pythagoras theorem

(2x-5)^2=x^2+(x+8)^2
4x^2-20x+25=x^2+x^2+16x+64
2x^2-36x-39=0

Find the roots of the equation by quadratic formula					
					
a=	2	,b=	-36	c	-39
					
b^2-4ac=	1296	-	312		
b^2-4ac=	1608				
{{{sqrt(	1608	)}}}=	40.1		
{{{x=(-b+-sqrt(b^2-4ac))/(2a)}}}					
{{{x1=(-b+sqrt(b^2-4ac))/(2a)}}}					
x1=(	36	+	40.1	)/	4
x1=	19.02				
x2=(	36	-40.1	) /	4	
x2= 	-1.025				
Ignore negative value					
shorter length 	=	19.02m		
m.ananth@hotmail.ca