press red button to the right, then go through portal get crate press red switch to the left, put crate on red pad, press red switch on front
source: Portal 2 test chamber 1 walkthrough