$40,517.22