Rectangular Pyramid Problems