Which net matches the figure?
a square pyramid

A. a net of a heptagon and seven triangles
B. a net of a square and four triangles
C. a net of a rectangle and two larger triangles and two smaller triangles
D. a net of four rectangles and two squares