Cognizant interview question

Question on calculating successive discounts.