The rule of reflection over the line y = x is:
The coordinates of A' = (1,-2) , B' = ( 3 , -4 )
So, the coordinates of A'' and B'' will be :
We need to find the rule of transformation from A to A''
The coordinates of A = (1,2) and B = ( 3 , 4 )
So,
The last rule is the rule of rotation 90 counter - clockwise
Or the rule of the rotation 270 clockwise