Answer:
8 years
Explanation:
The first company's offer is $8000 lower, but the raises are $1000 higher each year. It will take 8000/1000 = 8 years for the salaries to be the same.
__
If you like, you can write an equation that will tell you the same thing.
28000 +3000y = 36000 +2000y
Subtract 28000+2000y from both sides:
3000y -2000y = 36000 -28000
1000y = 8000
y = 8000/1000 = 8