The area of a cross section perpendicular to the base of a rectangular prism is 45 square inches. If the length and width of the base are 5 inches each, what is the height of the prism?