$40,517.39