Determine which figure matches the pattern for the given base,side, and front

Base: Triangle

Side: Square
Front: Pentagon

The figure that matches the pattern is a triangular prism.