Sharing Quantities in a Given Ratio