How to solve angle on a straight line and inside a triangle