These two angles (40° and 50°) are Complementary Angles, because they add up to 90°:
Notice that together they make a right angle .
But the angles don't have to be together.