How to determine taxes on new vehicle with trade in?

Hello, new here and really enjoy the expert advice. I want to buy a new vehicle with a trade in. My question is to any one. How to figure taxes on my trade so I am only paying what I need to pay.

Thank you