A 30°–60°–90° triangle has a hypotenuse with a length of 18.


What is the length of the shorter leg of the triangle?