The pants are $38.06 and the television is $1,147.50.
The sales tax on the pair of pants is calculated by multiplying $35 x .0875 = $3.06
The total cost is $35 + 3.06 = $38.06.
The sales price of the television is calculated by multiplying $1,250 x .85, (100 - .15 discount = .85) = $1,062.50 is the sales price
The sales tax is calculated by multiplying $1,062.50 x .08 = $85
The total price is $85 + $1,062.50 = $1,147.50