problem 1
The total for a pair of socks with a 15% sales tax.
Let
x ------> the original price of a pair of socks
y -----> the total cost
we know that
If the sales tax is 15%
then
the final price will be
100%+15%=115%
115%=115/100=1.15
so
y=1.15x
problem n 2
The original price of an item less a discount of 5%.
Let
x ------> the original price of a pair of socks
y -----> the total cost
we know that
the original price represent 100%
if the price has a discount of 5%
then
100%-5%=95%
95%=95/100=0.95
the total cost is
y=0.95x