First, let us find the quadrant in which the angle lies.
-315 = 3 x (-90) -45
(-90) refers to clockwise rotation from axis OX to OY'.
2 x (-90) refers to clockwise rotation from axis OX to OX'.
3 x (-90) refers to clockwise rotation from axis OX to OY.
So, any further clockwise rotation less than keeps the radius vector in the 1st quadrant.
(-45) refers to further clockwise rotation from OY.
See th figure below.
= cot(< AOP) = = 1
[since both OA and AP are along positive x-axis and positive y-axis respectively so both are positive]
METHOD TO BE FOLLOWED BY SOMEONE WHO IS NOT NEW TO THIS TYPE OF PROBLEMS