If you must buy a GTX1050, it should be no less than a GT1050Ti and of the 4GB variant. If you must buy a GTX1060 it should be the 6GB variant. Anything below that is just not worth the money. Are you sure you're not being scammed to buying a card that was used for mining?