These are both old PCs in need of upgrading and their value to some extent is based on the upgrading capability based on the rest of the computer. The i3 based system is better than then the FX-4100 based system in gaming by about 15% or so. The gaming performance of the CPUs is close to even with an edge for the i3 in gaming. The GPU favors the GTX 650 TI by 15%
Passmark of full core usage in many non-gaming applications has a slight edge to the FX-4100, and it can be clocked higher:
But, the gaming entry GPU base level minimum is considered an RX 550 at double the GTX 650 TI
and prices at about $84-$90 in the USA after rebate
The GTX 650 TI is about equal to a GT 1030 priced now at about $70
If you showed the rest of the parts and your country for shopping and what these cost, we could see what a 3rd gen quad core i5 system plus adding an RX 550 would cost.
A new PC of slightly better performance, buying a Windows license would cost about $350 to build.
That values the first PC at about $230 to $250 with a legal Windows license, in an ATX form factor full width tower in the USA.
$165 to $180 without the graphics card
and on sale new GT 1030 at $67