The 17.3" laptop with the i7-7500u and Intel HD 620 would be decent enough to play the Sims 4 with reasonable performance. It is the most demanding game of the three. The other laptop with the Pentium N3540 should be avoided; you will only get decent performance using the lowest settings and lowest resolution that the Sims 4 supports.
Buy one of the two laptops recommended above the has dedicated nVidia 940mx graphics chip which costs less than the 17.3" HP laptop that costs more, but only has the integrated Intel HD 620 graphics core which is much less powerful.