From a wide view, we can pick a string, and think front & back (these will be the opposite for left handed players).
We could also use different words, like left/right or higher/lower. Teachers: figure out the language that makes it make sense to a student.
We can see that if we have a 5th string root, to the back is a C shape, while to the front is an A shape. When we have a 6th string root, to the back we have a G shape. And, to the front, an E shape. For the 4th string root, to the front we have a D shape [to the back is still the E shape].
This also demonstrates the linear cycle for any given root. They always cycle linearly in word/letter order [CAGED].