There are strange markings in this room and the room outside in the hallway that will help you with the machine.
They show where to put levers into the machine to control it.
Oh, you'll need levers, won't you? One is in the same room as Sophia, and you might have left the other behind when you saved Sophia.