This little man can move through different spaces, and keeps on searching for the red door in each level. You'll have to move the rooms in such a a way, that the little man can walk from the entrance to the exit. For this to happen you'll need to move all the rooms in the right order to the right place!
Press the spacebar to go to the room where the little man is at that moment. Use the arrow keys to make the rooms change place.