A spool with 18 feet of ribbon will be cut into 8-inch segments. how many 8-inch segments can be cut from the spool of ribbon?