Lease and buyout option to get EV credit

I am trying to figure out the math on a lease buyout option but cannot figure out how the math works.

This is the quote the Tesla sales consultant sent me for an inventory Model X

Is Residual value what you pay to buy at the end of the lease?
If so, this about $7400 more than what is shown on the Tesla online configuration tool

If you buyout in say month 3, do you pay 33 x payments or are the payments reduced because you are not carrying the full lease?

Any guidance from those smarter than me would be appreciated.

https://preview.redd.it/k8ps7un0g15e1.png?width=1472&format=png&auto=webp&s=23202af67f1ba291c44fc686bc4d1560a259db75