Get rid of the red squares and just turn them around. But only the square buttons with arrows can do this. It stands on the perimeter and the correctness of the choice of the sequence of pressing depends on the level. If you make a mistake, you can replay.