For a transformation like the one shown in the graph, note that the points have switched as follows;

This is a 90 degree anticlockwise rotation about the origin.
That means point P would now be translated as follows;

After this rotation, the coordinates have now moved from their position one unit upwards. That now makes the final coordinates;
![undefined]()