Reflection over the line y =x, basically the value of x becomes the value of y (in the image), and the value of the y will become the value of x (in the image)
x--> y
y--> x
So when (-7, 3) is reflected over the y=x line, its reflection will be (3, -7)