Which solid has two triangular bases and three lateral faces, each in the shape of a rectangle?
triangular prism
triangular pyramid
rectangular prism
rectangular pyramid