Write a function that calculates a total amount of money a worker has made when given the initial salary (per year) and years worked. Every year the worker is at the job, their salary increases by $1,000 (in python)