Using 2 routers
You also have 2 links (ports 23 and 24) port 23 connectes to router-1 and port 24 connects to router-2. You also add port 23 to vlan 100 and port 24 to vlan 200. Now on each interface on the router connected to each port configure one subnet. On router-1 192.168.1.1/24 and router-2 192,168,2.1/24.