For Company A, the starting salary is 24,000 and the yearly increase is 3,000.
For Company B, the starting salary is 30,000 and the yearly increase is 2,400
We can express it by :
where y is the salary
a is the starting salary
b is the yearly increase
and
x is the number of years
So for Company A, we have :
For Company B, we have :
The problem is asking how many years will the two companies have the same salary.
so y in company A must be equal to y in company B.
Equating both equations :
The answer is 10 years