Answer:
Work needed to build the pyramid =

Explanation:
Let us consider a pyramid with a square base of length b and a height h. The pyramid has a density of x' pounds per cubic foot. Let's say that we make a thin slice through the pyramid at height y above the base, since the base of the pyramid is square, the slice will be a square of side length x. Since all of the material in that slice is at the same height, the amount of work needed to lift that slice into position would be

An argument with similar triangles shows that

Hence, the total work needed to build the pyramid is

≅
