please answer this question ..... u got a different solution!!!!

Answer:
The lengths of the 3 sides are 16.95, 20.95 and 26.95.
Step-by-step explanation:
If the shortest side is of length x cm. then the hypotenuse = (x+10) cm and the third side = (x + 10 - 6) = x + 4 cm.
By Pythagoras:
(x + 10)^2 = x^2 + (x + 4)^2
x^2 + 20x + 100 = x^2 + x^2 + 8x + 16
0 = x^2 - 12x - 84
x = [-(-12) +/- √(144 - 4*1*-84) ] / 2
= 12 +/- √480 / 2
x = 16.95, -4.95.
As x is the length of one side it cannot be negatiive so
x = 16.95.