2021 BMW m340i 4WD - target OTD?

Looking into a 2021 m340i xDrive with a list price of ~$47,800 at a dealer (CPO, 16k miles). When running through Carvana Value Tracker I see value of the vehicle is just under $40k. If this is accurate, what should be my target OTD price?