A temporary building is set up for an event. The lengths and widths of all of the sections that appear to be cut out of the rectangular prism are the same (9 m), and all angles are right angles. What is the volume of the building?