Let's say I have 10,000 dollars I want divided among 10 people. With simple division each person gets $1,000. Easy enough.
Now suppose each person has a score on a test from 0 to 200. Now I want to divide the money among all the people but weighted by their score on the test, such that people who scored higher will get more money. How would I do that?