Let the shortest side be x
Then, Hypotenuse =2x+6 and third side =2x+6−2
Third side =2x+4
Since, we know that
Hypotenuse2=Base2+prependicular2
Therefore,
(2x+4)2+x2=(2x+6)2
⇒4x2+16+16x+x2=4x2+36+24x
⇒x2+16x−24x+16−36=0
⇒x2−8x−20=0
⇒x2−(10−2)x−20=0
⇒x2−10x+2x−20=0
⇒x(x−10)+2(x−10)=0
⇒(x−10)(x+2)=0
⇒x−10=0 or x+2=0
⇒x=10 or x=−2 (not exits)
Therefore,
Shortest side x=10m
Hypotenuse =2x+6=2×10+6=26m
Third side =2x+4=2×10+4=24m
Hence, this is the answer.