The leg of a right triangle is 3 units and the hypotenuse is 6 units. What is the length, in units, of the other leg of the triangle?

3 units
9 units
Square root of 18 units
Square root of 27 units