Trade In

I’m a little confused on how the money works on a trade In for a lease. I have a 2022 equinox that is coming up at the end of a lease and I know obviously there is the trade value what else comes into play on the new price of the next vehicle. In a quote I recorded I saw trade allowance which was the amount for the trade then I got confused with the next 2 I saw which was trade difference and trade payoff. Pi attached photo below.