I don't know the solution of this problem:

The two base faces of a prism are equilateral trianlges and the other three faces are squares. At the beginning it stands on its triangle face. Then it rolled around one of its edges that lays ont the table. After some rollings, the prism will stand in the original position. Prove that then all vertices will be in the same position as at the beginning.

Please help me!!