Each pack of dvds costs w dollars. If there is a discount of x dollars on each pack How much do you have to pay to buy each pack?

The discount is x dollars on each pack. 

This means that for each pack, you pay w - x dollars. 

So the total cost of buying each pack is (w - x) * p, where p is the number of packs you're buying.