Recall that the sum of all interior angles in a triangle is 180°, and that a flat-line is always 180°.
Check the picture below.