The two legs of a right triangle are the same length. The hypotenuse is 6 meters long. Find the length of the legs. Express your answer in simplified radical form, or as a decimal rounded to four places.