The difference between the starting salaries is $10,000, and the difference between the annual pay raises is $1,000.
So, it will take 10 years ($10,000 / $1,000/y) for the two salaries to be the same, which will be $56,000.
a simple table will show the annual amounts.