The first one. Note that none of them are ideal machines (and 1366x768 on 15" screen is a very poor resolution in this day and age) but at least the entry level nvidia graphics chip outperform the Intel HD 5500 by a notable margin.
And as for the processors. Can assume that the second machine has an ultra low voltage i5 due to the HD 5500 chip. Those are ok generally but limited by thermal constraints. I would assume the first laptop has an ULV-cpu as well, but since you'd be using the Nvidia chip for graphics, optimistically you could expect a bit higher turbo clock speeds on the CPU since it doesn't have to budget much power towards its integrated graphics.
http://www.notebookcheck.net/NVIDIA-....138763.0.html
http://www.notebookcheck.net/Intel-H....125586.0.html
4GB RAM is also very little but I would optimistically assume that this is upgradeable later on.