Use d to represent the spending (in dollars) of a shopper who gets the discount.
You can ask a new question or answer this question.