I need help ASAP

Mateo earns a yearly salary of 40,000. Rico earns a yearly salary of 51,000. Mateo will receive a salary increase of 3,500 per year, and Rico will receive a salary increase of 2,800 per year

Which equation can be used to find n, the number of years it will take Mateo to earn the same salary as Rico?

A: 40,000+3,500n=51,000+ 2,800

B: 40,000+3,500n=51,000n+ 2,800n

C: 40,000n+3,500=51,000n+ 2,800

D: 40,000+3,500n=51,000n+ 2,800