1) In this problem, we can see that this is an isosceles right triangle.
2) So, one way of solving it is to make use of the Pythagorean theorem. Note that an isosceles triangle has two congruent sides, so we can write out:
Usually, we rationalize it. But since the question requests the denominator to be a rational one, so this is the answer.