One basic formula that will work is this:
n - r + 1 (one point for last, one point for next out, etc.)
switch(r, 1, 25, 2, 15, 3, 10, 4, 7, 5, 5, 6, 4, 7, 3, 8, 2, 9, 1) (awards points based upon top 9 finish, 25 bonus for 1st, 15 for 2nd, etc)
put together, makes n - r + 1 + switch(r, 1, 25, 2, 15, 3, 10, 4, 7, 5, 5, 6, 4, 7, 3, 8, 2, 9, 1)