Go to the right and fling yourself from the retractable stairs to the cube. Put the cube on the button.
You can use portals to get across, or take the jumping challenge. Put one portal where the pellet hits. Take the jumping challenge back, unless you feel comfortable with using a portal that a pellet is going through.
Head back to the main room, put the portal above the receiver and then take the elevator.