what is the two-dimensional shape created by slicing a right rectangular pyramid from the side

The two-dimensional shape created by slicing a right rectangular pyramid from the side is a triangle. The cross-section of a rectangular pyramid taken parallel to the base will always be a triangle, with the same base as the base of the pyramid and a height that is a fraction of the height of the pyramid.