Alchemist Puzzle

There are 3 columns of potions, link them by color, but be careful you can connect only if the two potions are on different but adjacent lines.