You should have found the solution written down somewhere.
The guard in the control room on level 3 had the answer written down in a logbook.