we will interchange the x coordinates and the y coordinates.
Explanation:
To transform a function to reflect over the line y = x, the x axis and y axis switch places.
For example, if we reflect the point (2, 3) over the line y = x
the x-coordinate and y-coordinate change places:
It becomes: (3, 2)
Since transforming a function to reflect over the line y = x is the same as transforming a function to reflect it over the line x = y.
So, (x, y) becomes (y, x)
We can conclude that, to transform a function to reflect it over the line x = y, we will interchange the x coordinates and the y coordinates.