In the book:

It is the same as:


Now take the Tangent of the left hand side:

This equals to the tangent of the right hand side.