I'm trying my hand at making a map using illustrator. I'm fairly new at it so I'm still learning the ropes. I'm trying to divide up a continent into several countries using border lines. Here's an example of what I'd like to do:

...so I would end up with two separate, enclosed figures sharing that border. I've tried using divide, but it doesn't work like all the tutorials (like this one) are saying it should. They say that when I use divide, it should keep both figures. But when I use the divide tool with the coastline and border, it cuts the left country as I want it, but discards the right, like shown below. Naturally, I want to keep both.

Any help would be much appreciated. Thanks.



