segment XY is transformed using rigid transformation to get segment X’Y’ as shown in graph, which series of transformation correctly maps XY and X’Y’

We have to find the tranformations used in the segment XY to get the segment X’Y’.
First, we need to find each point looking the graph.
Remember that the coordinates for any point is (x,y).
Then:
X =(-6,5)
and
Y=(-2,5)
Now, reflect both points over the y=x.
When we reflect over y=x, the points have the next transformation:
(x,y) ----------> (y,x)
Hence:
X =(-6,5)----------> (5,-6)
Y=(-2,5)----------> (5.-2)
Now, we need to get the segment:
X’=(5,-3)
Y’=(5,1)
Therefore, we need to translate up 3 units:
X =(-6,5)----------> (5,-6)---------->(5,-6+3) = (5,-3)
Y=(-2,5)----------> (5.-2)---------->(5.-2+3) = (5,1)
Looking at the transformations to find the new segment.
The correct answer is the first option.