AMC8 1990 Problem 18

Each corner of a rectangular prism is cut off. Two (of the eight) cuts are shown. How many edges does the new figure have?
Image
Answer Choices
A. 24
B. 30
C. 36
D. 42
E. 48