Settings>General>Reset>Erase all Content & Settings...if you don't have a 3GS, make sure the phone is plugged into a wall outlet as this can take several hours(a 3GS supports hardware encryption, thus the erase merely deletes the encryption key). I'd also remove the sim and tell the buyer they have to obtain their own. Some people don't(no data is stored on the sim), just what I've done with every phone I've sold.
do i need to de-authorise the iphone?
No. You don't authorize or de-authorize the device, its your computer/computers that are authorized.