Final answer:
To find the lengths of the legs of the triangle, you can use the Pythagorean theorem.
Step-by-step explanation:
The length of the hypotenuse of a triangle can be found using the Pythagorean theorem:
c² = a² + b². In this case, a and b represent the lengths of the legs of the triangle. So, (x-1)² + (x+1)² = 2.5². Simplifying this equation will allow you to solve for x and find the lengths of the legs.