Suppose the average yearly salary of an individual whose final degree is a master's is $49 thousand less than twice that of an individual whose final degree is a
bachelor's. Combined, two people with each of these educational attainments earn $116 thousand. Find the average yearly salary of an individual with each of
these final degrees.