The base of a prism is a triangle with a base of 9 inches and a height of 5 inches. Determine the volume if its length is 18 inches.​