Rectangular prism and triangular pyramid