what is the cube
It is a box like structure having all sides equal.
That is length=width=height.
It is a three dimensional body.
Steps are explained in answer.