What is the contrapositive of the following statement: "If a polygon has more than three sides, then it is not a triangle"?
a) If a shape is a triangle, then it has more than three sides.
b) If a shape is not a triangle, then it has three sides.
c) If a shape has less than three sides, then it is a triangle.
d) If a shape is not a triangle, then it has more than three sides.