You can use Polygon function. Your first step is to draw what you think a cube would look like on paper. Then assign coordinates to the corners and then use Polygon function to connect them.

First step, draw one face of the cube. Did you figure that out ?