Hello klaus113

Welcome to Math Help Forum!Think about any point whose coordinates are - see the attached diagram. Its horizontal and vertical distances from are and , respectively. After a rotation through clockwise about this point, these will be the vertical distance below and the horizontal distance to the right of this point.

So the coordinates of the image of after this rotation are; i.e.This gives the general formula you're looking for, and confirms that .

Grandad