The friend is correct. Split the 2D figure as indicated in the diagram below. The rectangle on the left rotates to form the cylinder. The triangle rotates to form the cone. Think of these as like a revolving door that carves out a 3D shape. Or you could think of propellers.