The left hand still image shows the start postion etc. The circle/square is made up of 5 shapes. The 4 segments are flipped inwards on the right side position so that the circle flaps are slowly removed from sight to reveal the square. This gives a smoother transition.

A single tween for each way (a total of 3 frames):