To solve the exercise, let us see what are the coordinates of the points that form the figure before and after making the reflection:
![\begin{gathered} A(-2,8)\rightarrow A^(\prime)(8,-2) \\ B(-6,0)\rightarrow B^(\prime)(0,-6) \\ C(-10,6)\rightarrow C^{^(\prime)}(6,-10) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/nidcs27a5yvpt4ohtb0359293tl14f47l2.png)
As you can see the reflection of all the points has the form:
![(x,y)\rightarrow(y,x)](https://img.qammunity.org/2023/formulas/mathematics/college/xrxzofqrju7bzvtyrl9rd71hrft58h54y4.png)
which occurs when the line of reflection is the line:
![y=x](https://img.qammunity.org/2023/formulas/mathematics/high-school/qx96nvxhyitmji68xu7pniht2yw5u8qwrp.png)
Therefore, the correct answer is option B.