Answer:
The potential salary of Mr. Jackson in 5 years in company A is $ 48000 and in company B is $ 50000.
Explanation:
Company A offer:
Pay for first year,

Increase in pay each year after first year,

The total pay after n years can be determined using the
term of the arithmetic progression as the increase in pay is an arithmetic sequence with first term as 40000 and common difference as 2000.
So, Total pay after 5 years is given as:

Company B offer:
Pay for first year,

Increase in pay each year after first year,

The total pay after n years can be determined using the
term of the arithmetic progression as the increase in pay is an arithmetic sequence with first term as 30000 and common difference as 5000.
So, Total pay after 5 years is given as:

Therefore,
The potential salary of Mr. Jackson in 5 years in company A is $ 48000 and in company B is $ 50000.