Draw a square. Then delete the fill and duplicate the square.
Figure A.32.
2.
Move one box on top of the other, positioning it above and to the right of the other box.
Figure A.33.
3.
Draw four short lines that don't touch either box. If you find that Snap to Objects is making this step difficult, feel free to temporarily turn off this option. The lines are shown in the following figure:
Figure A.34.
4.
Connect one end of one line to a corner of the rear square.
Figure A.35.
5.
Connect the other end of that line to the corresponding corner of the front square.
Figure A.36.
6.
Repeat steps 4 5 with the second, third, and fourth lines.
Figure A.37.
7.
You can fill the panes of the cube with a gradient and use the Gradient Transform tool to fine tune the look.