Let

be the vertex of the triangle.
Now after the transformation the image has coordinates

We can observe that, if you

the coordinates of A, you get the coordinates of A'.
A transformation in which the coordinates of the

has been swapped to obtain the

is a reflection in the line

Another possible transformation is a rotation through an angle of

clockwise, which is the same as

counterclockwise.
See diagram.