Angles that add together to make a straight line are called supplementary angles. If you know one supplementary angle you can subtract it from 180° to find a missing angle.
When two lines intersect, the opposite (X) angles are equal. In the diagram above, the two green angles are equal and the two yellow angles are equal.