Suppose there are n rectangular prisms stacked on top of each other in various ways to form one solid. Each has l = w and a height of h. Using Cavalieri's principle, what is the volume of the solid?