Questions about the calculator and tradeins

I have 2 questions specifically related to Hyundai. On the calculator where would you put the $500 downpayment match? Is it the same as the boostup match? Where do you put the uber $1000 rebate.

If I am trading in my old car(which was purchased), can I ask them for cash instead of putting it down on the lease(which I know is a big No No here)?

Carmax is offering 5000( after payoff) cash while dealer is offering 5800 but they are trying to roll it into the downpayment for the new lease.

Yes…20