How to use the Tan2x formula