Financing question:

(Sale Price) - (Trade In Value) + (Balance on old loan) - (Down Payment) = (New Loan Principle)