When reflecting over the line y=x, you must be
sure that the image is the same horizontal and
vertical distance from the line of symmetry.