Two adjacent angles on a straight line are in the ratio 5 : 4. Find the measure of each one of these angles.