The Carbon X1 is great. Whether it’s a good deal depends really on the price difference to a new one locally.
The i5 with 16GB + 512GB storage sounds alright as well. The other one not really, the price difference is too small. For 35 USD you can’t double RAM and storage.