To obtain the volume of the solid figure, the following steps are necessary:
Step 1: Since the figure is made up of a square base pyramid and a rectangular solid, we recall the formulas for the volumes of a square base pyramid and that of a rectangular solid, as below:

And:

Step 2: Apply the dimensions given in the question to obtain the volumes, as follows:
Consider the rectangular solid sketched out below:
Thus, for the rectangular solid, we have that:
Length = 9in
width = 9in
height = 16in
Therefore, the volume of the rectngular solid is:

Now, consider the square base pyramid sketched out below:
Thus, for the square base pyramid, we have that:

Also:

Therefore, the volume of the square base pyramid is:

Step 3: Now, we find the total volume of the solid figure as follows:

Since:

And:

Therefore:

Thus, the volume of the solid figure is 1566 cubic inches