2024 Acura RDX A-Spec w/ Advance package

I just received an out the door quote from a no nonsense dealership in New Jersey. I want to buy the car by this Saturday and will pay cash. The dealer does not know how I plan to pay. He also does not know that I have a 2019 RDX AWD Advance in excellent condition, aside from a tiny ding on the rear passenger door, with about 23,250 miles on it that I will trade or sell. I have received quotes from CarMax, CarGurus and other companies ranging from about $26,000 to $28,000 for my 2019 RDX. I do not want to sell it privately because I want to minimize aggravation and for safety concerns. Considering the sales tax basis benefit, trade in offers from dealers ranging from about $25,250 to $26,260 would be equivalent to the CarMax, etc. offers. I would appreciate any advice/ comments on the proposed deal.

MSRP $55645.00

Sale price $52045.00

Acura Loyalty discount - $1000.00

Quoted price total $51045.00

Doc fee $504.85

NJ tax $3415.18

DMV fees $361.68

Total $55,326.71