Providing you upgrade the HDD to a 7200RPM model, PC #2 is the better option. Here's why:
1) The AMD's multi-core performance is significantly faster than the Intel. AMD's single-core performance is a tiny bit slower but probably nothing you'd notice.
2) The Samsung NVMe SSD is significantly faster (and better) than the SATA SSD in PC #1.
3) The power supply exceeds the minimum recommended for your chosen graphics card.
Oh, and by the way, for home and gaming use you don't need Windows 10 Professional and it'll be a waste of money so change that option to the Home version and use the saving to buy the better HDD that I mentioned.