Find the values of the six trigonometric functions of an angle in standard position if the point with coordinates (40, 9) lies on its terminal side.