Answer: x = 26 and y = 26
Step-by-step explanation:
This is a 45-45-90 right triangle. It is also known as an isosceles right triangle.
This type of triangle has a special connection between the leg length and the hypotenuse.
That connection is this formula:

We see that the leg x and leg y must be 26 units each, so that the template mentioned above leads to a hypotenuse of

In other words, solving
leads to x = 26. The same goes for y = 26.
An alternative approach would be to use the pythagorean theorem.