Slide the different colored pieces from one side of the cube to another.
Click on a colored piece and it will move to the empty space next to it