offer B will provide a greater total after 5 years.
Step-by-step explanation:
Offer A:
starting salary = $58000
rate of increase = 3% = 0.03
time = 5 years
This is an exponential function. The total becomes:

Offer B:
starting salary = $56000
increase per year = $3000
This is a linear function. The total becomes:

For time = 5 years:

$71000 is greater than $67237.90.
Hence, offer B will provide a greater total after 5 years.