These values can make a right triangle.
Here's how: if the two legs have a length of
, and the hypotenuse is 2, the math checks out.
Let's use the Pythagorean theorem:

a and b represent the leg lengths, whereas c represents the hypotenuse length:

Then we simplify:

And this is indeed true.