In a triangle, the total angle is 180 degrees. A straight line is always 180 degrees. With this in mind, the following can be obtained:
These are simultaneous equations.
8.8m questions
11.4m answers