When the "white ball" comes out, you have to stand behind the sewer grate on the floor so that the white ball enters it. then go to the corner where the ventilation grate will be open and press "E" if you hear a sound, you can leave the room.
For more help in solving puzzle you can visit this site: https://sites.google.com/view/changed-3d/tutorials