Find the measure of angle 2 if the measure of angle 8 is 40
degrees.