This is a way of checking whether we can get the sum of two angles to be as large as 180 degrees, or as large as the "sum of two right angles". Euclid asserts, in Proposition 17 of Book I, that the sum of any two angles in a triangle will always be less than the sum of two right angles.