Answer:
When the function is to be reflected over the x and y-axis, we write it as a reflection of a function over x = y, so it is divided into two parts or two cases y = x and y = − x. When the graph of function is reflected over y = x, then we will swap the coordinates of the x and y-axis with each other while their signs remain the same.
Explanation: