In the alchemist's cellar are 2 sets of potions and a book describing how to make the potion. Drag a potion from one set over one from the other. The first attempt will fail, but the second will give you the potion you need for the imp.