Pyramids have pointy tips. If the height is 10 inches, the base would start at y = 0.
Notice that the cross-sections are perpendicular to the y-axis, so set up and evaluate an integral in terms of y.
Use the eTool below to help solve the problem.
Click the link at right for the full version of the eTool: Calc 8-123 HW eTool