This is a trick question ,NSS
Note what this says
( g-1 ° g ) (5) means that we first put "5" into "g"
We will get out some value "k"
So......we have the point
(5, k)
Lastly....we put this result into the inverse....
But the inverse just " reverses" the original coordinates....so... putting "k" into the inverse produces
(k, 5)
So....the final answer is just what we started with ⇒ "5"
Do you see this???....