In a 45-45-90 triangle, one of the legs is 2sqrt2. What is the length of the hypotenuse?