Answer: B
Explanation:
The triangle has 3 sides and the pentagon has 5 sides so we can automatically removed those. The bottom of the pyramid is a square and if you look at it the red shape doesn't make (or at least look like) a square which leaves the last option the rectangle.