To do this problem, you need to know the formula for the volume of a pyramid:
Volume = (1/3)(Area of the base)(height)
The volume is 873.18, the base is a square of length 12.6, so its area = (12.6)2
873.18 = (1/3)(12.62)(height)
Solve for height