A leg of a right triangle is 18 cm long. If one acute angle measures 45°, what is the measure of the other leg? ​