sustain pedal set up HELP !!!!!

How is this done?