A frustum of a pyramid with square base of side b, square top of side a, and height h.

-what's the volume using only the variables a, b, and h in the answer?

see the other question.