Start by cancelling/ending all syncing capabilities to the iPad you want to give away. That way the new user cannot access your data.
From there, log out of any and all iCloud, iTunes, etc accounts.
Restore your iPad by going to Settings > General > Reset > “Erase all Content and Settings”.