Answer:
x^2(x + 2)/3 cubic inches
Explanation:
The area of the square base is ...
B = x^2
The volume is given by ...
V = (1/3)Bh
where h represents the height, and B is the area of the base.
Using x+2 for the height, the volume of the pyramid is
V = (1/3)(x^2)(x +2)
V = x^2(x +2)/3 . . . cubic inches