Here’s how to solve most relationship problems.