Hi Beth,
Merges cannot be undone, so you'll need to create a new profile for one of them. Then just change the parent-child and spousal relationships so that the right people are connected to each other, and make sure each of them has the right information, like birth and death dates, etc.
I hope that helps! :)
~Lianne