Either of those cards should work with your setup. If your PSU has correct plugs and is good enough quality, and your case is big enough. However, depending on your monitor's resolution, your CPU may bottleneck those GPU. If running just at 1080p, I would say gtx 1060 6gb or rx 580 would be enough.