assign("x", numberOfPlayers + totalNumberOfRebuys)
switch(r, 1, x * .4, 2, x * .3, 3, x * .2, 4, x * .1)
or
(numberOfPlayers + totalNumberOfRebuys) * switch(r, 1, .4, 2, .3, 3, .2, 4, .1)
or
(n + tnr) * max(5 - r, 0) * .1
You could easily modify these to subtract points for players with more than one rebuy. What did you have in mind?