
William W. answered 11/11/24
Experienced Tutor and Retired Engineer
IF you were rotating around the origin, then for every 90° you rotate, you switch the values of "x" and "y" around. Additionally, you need to adjust the sign of the "x" and "y" as appropriate for the quadrant you end up in. So, for instance, IF you were rotating the point (2, 3) around the origin clockwise 90°, you would be starting in Q1 and ending in Q4. You would switch the "x" and "y" values once to get (3, 2) but Q4 has positive "x" values but negative "y" values so the point would need to be (3, -2). Rotating it another 90° clockwise would put the point in Q3 where it would become (-2, -3) because we switched the "x" and "y" again and points in Q3 have both negative "x" and negative "y" values. And so forth.
Since you are rotating around a different point than the origin, the easiest thing to do is to create a new "fake" origin at the point you are rotating around. In this case that is point "X". That would temporarily change the points Y and Z because the new origin is 1 unit closer to them in both the "x" and "y" directions. So the new temporary location for point Y is (2, 3) and for point Z it is (3, 2). Now rotate by swapping the "x" and "y" values 3 times (because you are rotating 90°, 3 times). The new Y would be (-3, 2) and the new Z would be (-2, 3).
But now you need to move them back to the original coordinate plane by adding 1 to each value (you subtracted 1 from each to move them to the temporary coordinate plane). So Y' is really at (-2, 3) and Z' is at (-1, 4)

William W.
Note that since you are rotating around point X, it remains at (1, 1) so X' is (1, 1)11/11/24