By subtracting 360 from 495, we do not change the value of the tangent:
tan495=tan495−360=tan135
We know from exercise a that cos135=−12 and sin135=12, which gives
tan135=sin135cos135=12−12=−1