The function below determines the amount of yearly tax a person must pay, which is based on the amount of money they earn each year.