The resale value for the Camry is bogus. I paid about $10k for a less nice Camry as the one mentioned in the article that was 7 years old with 130K kms. For a 5 year old LE with low kms I’d expect $13-17k resale.
There's a huge spread between trade-in value and prices on a dealership lot. It's completely reasonable to expect to get $8-10k in trade-in for a five year old Camry, and totally reasonable to expect to pay $15k to buy that same car from the dealership.