ANSWER
B'(5,-2).
Step-by-step explanation
The coordinates of B are (-2,5).
We want to find the image of this point after a reflection in the line y=x.
The mapping is

We just have to swap the ordered pairs.

Hence the image of B(-2,5) is B'(5,-2).
The correct answer is (5,-2).