Question:
Someone gave me money to purchase pants. After purchasing one pair of pants, may I keep the remainder of the money for myself?
Answer:
All of the money was given to buy pants not just part of it, and if he gave you money for two pairs then you should buy two etc. However if there is some change left over afterwards the person wouldn't mind if you spend it on yourself.
Best wishes