You can find this puzzle inside the Labyrinth of Champions, a dungeon you'll visit in order to get the Van Emblem, as part of the story. Once done correctly, the stairs leading to the boss will be opened. Here is the solution for that puzzle:
We will tag the leftmost room as Room 1 and the rightmost room as Room 7.
Switch Up: 2, 7
We have questions and answers related to this topic which may also help you: