Hi, I'm Ashik. Welcome to JustAnswer. I'm reviewing your question now, and will post back with your reply ASAP
You can erase the iPad from Settings. Open Settings, tap General, tap Reset and tap Erase All Contents and Settings. This will erase everything from it and make it like a out of box iPad.
If you have iCloud enabled on it, then first go to Settings > iCloud and tap Sign Out at the bottom. After signing out, erase it.
If you have any questions, please let me know