John G. answered 12/30/22
Since 2003 have taught all the junior college's math courses.
It is matrix multiplication of a homogeneous matrix representing translation along point back to origin, then followed by rotation about origin, finally translation back along the point.
Very cumbersome but this video will explain