Looking for advice on OTD offer

/Hi I'm looking at this 2020 Yukon Denali XL and was quoted a otd price the breakdown prices I noticed they used the msrp price which was approximately 4k more than internet price but final price still came out cheaper then caredge reccomended price I'm confused why they used msrp price to discount final otd price should I go with this offer or ask for discount off of internet price which 39,880 any feedback is greatly appreciated.

Also I would mention this vehicle is a out of state buy I'm in Pennsylvania car dealer is in New Jersey

https://my.caredge.com/buy/details?zip=19151&state=PA&vin=1GKS2HKJ0LR118772&mileage=77029&radius=200&listingId=1GKS2HKJ0LR118772-ab6a4ecc-a2fd&inventoryType=used&make=GMC&model=Yukon%20XL&year=2020&dealerId=1011236