Two segment points, transformation
C (1,2).
D (5,4)
FOR POINT C
Translate C , (x, y) + (x, y+ 2) = (1,2) + (1, 2+2) = (1+1, 2+2+2) = (2,6)
Reflection over y= x
change (x ,y ) in (y,x)
(x,y) = ( 6, 2)
FOR POINT D
Translate D ,(x,y) + (x , y+2) = (5,4) + (5, 4+2) = (5+5, 4+4+2) = (10, 10)
Reflection over y=x
(x,y) = (10,10). (Its same point)
DRAWING
New segment C'D' is drawed in green