Here's how to use two apps simultaneously on your moto g 5G.
'Multi window' is also referred to as split screen.
'Multi window' allows multiple apps to be run on the current screen at the same time.
Not all apps support 'Multi window'.
From the bottom of a screen, tap the
Recent apps icon

to open the app cards screen.
Tap the app icon (e.g., Gmail, Settings, Email, etc.) located at the top of the panel (figure 1) then tap
Split top
(figure 2).
Options may vary depending on the app selected.
The image below is an example.
From the Recent apps screen, tap the second app to be viewed.
When on, tap the
Recent apps icon
to open the app cards screen to change the current app. To close the split screen view slide the horizontal bar all the way up or down.
Adjust the size of the apps by sliding the horizontal bar between the apps up or down.
The image below is an example.