How do I clear all of my information off of my original iPad so I can give it away?

I would like to gift my original iPad to a friend but want to clear it of all my information before then. What do I need to do to clear it but still leave it usable for her?
https://support.apple.com/en-us/HT201351

Original thread: https://forums.imore.com/threads/how-do-i-clear-all-of-my-information-off-of-my-original-ipad-so-i-can-give-it-away.331890/