Question 445974
x2+(x+1)2=(x+2)2
x2+x2+2x+1=x2+4x+4
2x2+2x+1=x2+4x+4
x2-2x-3=0
(x-3)(x+1)=0
x=3 or -1
Throwing out the negative answer, we get the lengths to be 3,4, and 5..