In a 45°- 45°- 90° right triangle, the length of the hypotenuse is 12. How long are the legs?