Ok,
Since we have that the price of the pants is $2995 and that represents the 100%.
In order to determine the total value since we get a 10% discount, we do as follows:

We determine the 10%, multiplying the percentage we want to know (10%) times the total ammount of money the pants cost ($2995) and then divide by the total percentage (100%):

x represents our 10% and so we extract x from the total:

Therefore the total price to pay is $2695.5