Figures in the brackets shows asto how the consumer spent his Rs5/- on two types of commodities.Let us assume that the price ofeach commodity is one rupee. Theconsumer starts spending his firstrupee on X because the highestmarginal utility on X is 10 utils. Inthe same way he spends his 2nd,3rd, 4th and 5th rupee on thecommodities which gives highestutility. Thus the total utility obtainfrom X and Y will be 38, i.e. fromX (10+8+6=24) and from Y(8+6=14). In this way theconsumer spends his entire incomeon X and Y in such way that thelast rupee spent on X and Y givesthe same marginal utility. Thus theconsumer gets maximumsatisfaction