The internal dimensions of a rectangular box are 12 cm×xcm×9 cm. If the length of the longest rod that can be placed in this box is 17 cm; find x.