What is the length of the hypotenuse of a 45-45-90 triangle, if its leg is x units long?