how to solve trigonometric identities problems