after how many years are the salaries offered by company a and company b the same

Co. A starting salary $24,000 yearly increase of 3000

Co. B starting salary $30,000 yearly increase of 2400