A square with a side length of 18 inches is dilated by a scale factor of 1/3. How long is the side length of the resulting square?