you can't without a cable between the two modems unfortunately. With the two modems it would be a lan to lan cable and DHCP turned off and the LAN IP address changed (eg to 192.168.2.1) in the 2nd modems LAN menu.
To do it wirelessly, you'll need a proper wireless extender