Erm... pardon me , but are you saying you wonder why you didn't see it, or that you still don't understand it ?
Here's a tip, for the future :
You're with a tan function, and you want to get to sines (csc is just 1/sin). So one of the ways (it depends on the situation) is to remember that the relation between tan and sin is :
tan=sin/cos