FERMAT 2016 Problem 2

A cube has 12 edges, as shown. How many edges does a square-based pyramid have?

Image

Answer Choices
A. 6
B. 12
C. 8
D. 4
E. 10