An executive is earning $162,000 per year. This is $10,000 less than twice her salary 7 years ago. Find her salary 7 years ago.

162000=2S-10000

solve for S