I'm assuming you need the computer for more than basic computing.
I wouldn't bother with either to be honest. Both are based on older tech (DDR2). The first uses a card that is better for gaming, but will quickly be unusable. The second uses a more future proof card, but is bad for gaming. Both use slower, older HDDs, which will make the system feel really slow. The PSU in both is not great quality, and will not have enough power for expansion.
I wouldn't buy either of them. Instead, start saving for a better build.