Right triangles and trigonometric functions (for the first text)