Suppose the average yearly salary of an individual whose final degree is a​ master's is ​$35 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 ​$118 thousand. Find the average yearly salary of an individual with each of these final degrees.