Just a heads up, I noticed what i think are some reversed images in the Unity docs. Take a look at the two images on this page:
https://developer.magicleap.cloud/learn/docs/guides/unity/input/head-tracking/tracked-pose-driver-hmd
It looks like they should be swapped. The input system instructions match up with the second image on the page.