how do i show the angle of a triangle within a hexagon when I get two points, using linear functions?