how to find the six trigonometric functions of a given point