Consider the following diagram:
In the picture, we take the perpendicular bisector of the top base and draw the line. This splits our equilateral triangle into two equal parts. The base is and the height is 3 and the other side length is . Choose a sample point say . Let's call the length of the small triangle point downward l. By similar triangles, we have
and hence
The volume of the thin prism at this height is
Next, the force acting on this prism is
Lastly, the work done on this piece, noting that the displacement is 1 added to the distance to the bottom of the triangle (which is )
Summing over all pieces, we have
and this last value is an integral given by