While a gift, this is an old and obsolete device and has been for a few years, now.
Juat forget trying to get this 11-year old iPad 2 working.
It is not worth any time or efforts.
Sorry.
Apple ended support for all 10-11-year old iOS devices ended 6 years, ago, in 2016.
Third party app developers abandoned and stopped supporting these 10-11 year old iOS devices 4 years, ago, in 2018.
There are, virtually, NO MORE third party apps available from the iOS App Store, any longer!
Third party compatible apps for such old devices are few and far between, now, in 2022.
This includes apps for both iOS 9 AND iOS 10 devices and, throughout 2022, ALL iOS 12 ONLY devices!
AND, NO WAY to, initially, install any older, compatible, third party apps into this old iPad, any longer!
NO MORE SUPPORT! NO MORE APPS!
All 2011-2012 iPad 2, 3, 4 and 1st gen iPad Mini models are fully and completely unsupported AND obsolete!
These old iPad models are pretty much useless without any third party apps and that over 6-year old iOS Safari Web browser is far too old and is no longer safe NOR srcure to be trusted for use on todays modern Internet.
Sorry, but this is the reality for ALL 10-11-year old AND OLDER iOS devices now. Especially now, in 2022.
In addition, the internal, rechargeable batteries in these old iPads are, also, running on borrowed time.
Not worth the costs to replace these old internal, rechargeable batteries in these old iPads, any longer, either.
Also, these very old iPad models have NO trade-in nor any resale value, either.
It is almost the Fall of 2022, now.
iOS/iPadOS 16 will be released, very soon, from Apple.
If you want/need an iPad, then you should seriously consider a purchase of a new iPad model OR a much, MUCH “newer” and less expensive, refurbished or used iPad models, from better known, trusted Apple product/device retailers/resellers, some locally or from online, on the Web/Internet, capable of running the latest iPadOS versions.
There are PLENTY of less expensive, newer, older iPad models that can run the latest, current versions of iPadOS.
If you need OR ONLY able to purchase older, less expensive iPad models, look at older iPads from 2015 and later.
All of these older model iPads below, CAN, currently, run the latest releases of iPadOS 15 and the up and coming iPadOS 16 releasing sometime in the Fall of 2022.
2015-2017, 12.9 inch screen iPad Pro models. ( 1st gen Pencil support )
2017,10.5 inch screen iPad iPad Pro models ( 1st gen Pencil support )
2017, 9.7 inch screen iPad 5th gen models ( NO Pencil support )
2018, 9.7 inch screen iPad 6th gen models ( 1st gen Pencil support )
2019, 10.2 inch screen iPad 7th gen models ( 1st gen Pencil support )
2020, 10.2 inch screen iPad 8th gen models. ( 1st gen Pencil support )
2019, 7.9 inch screen iPad Mini 5th gen models ( 1st gen Pencil support )
Get the largest internal data storage model you can afford as NO Apple iOS device has ANY expandable storage.
I am sorry that you had to learn all of this, but this does not change any of the facts regarding these very old iOS devices.
Sorry & Best of Luck to You!