Solve the puzzles in the two areas and remember the combination given from both. After that you can input the two seperate codes into the password and unlock the last room.