If we are not using rotational matrices, we can solve this using basic trig. Note that the angle between the x axis and a line drawn from the origin to the point (2, 5) is given by:
tan-1(5/2) = about 68.2°
And the length of this line (i.e., r) is given by √(22 + 52) = √(4 + 25) = √29
And rotating this line by 45° gives us ( 68.2° + 45°) = 113.2°
So the coordinates of the new point are given by [r * cos(113.2°), r * sin(113.2° ] = [√29*cos(113.2°), √29*sin(113.2° ] =
(-2.12, 4.95)
And that's it......!!!!!
