A closed cardboard box is made with a square top and bottom, and a square horizontal shelf inside that divides the interior in half. A total of 9 square meters of cardboard is used to make the top, sides, bottom, and shelf of the box. What should the dimensions of the box be to maximize its volume?