Taxes

After getting An OTD $ and then decide to trade in my old car, is the sales tax refigured considering the price minus the trade in?