Which of the following shapes could be formed by taking a longitudinal section perpendicular to the base of a rectangular prism?

1 A rectangle or a trapezoid
2 A rectangle or a triangle
3 A rectangle only
4 A trapezoid only