Finding the total amount of a paycheck