Please look up ICS Internet Connection Sharing .
Just Google windows ICS setup for windows.
If connecting from one laptops Ethernet to the other you will need a different wired Ethernet cable first called a crossover cable.
X-over Ethernet for short.