Which laptop is better among these i5-12th gen RTX 4050 vs i5-13th gen RTX 3050 ?

Both has 6GB Graphics. Links:

Laptop 1

Laptop 2

I’m looking forward to buy a new laptop, which among these would be a better choice? I would be using it for development and medium gaming. Thank you.