Familiarize yourself with what rooting is and what it does. There are hundreds of videos and articles about this. There are different ways to root different android devices and there isn't one method that does it all. Considering you're on stock, rooting and flashing a custom recovery would initially require a factory reset on your device (deleting everything) so make sure you back everything before you end up rooting and flashing a custom recovery.
Magisk is required and serves as a way to have root privileges without other apps finding out your device has root - i.e. its a systemless root. MK Tour is one of many apps that can detect root, so you'd need Magisk to even play it. GG also needs to root to operate.
It may seem a lot now but take your time. Make sure you know what you're doing so you don't risk a brick.
Here's some links I found for your device to get you started 1 2