The game is structured that, if you know what you are doing, you can always within its 4 turns. Example:
Turn 1: You try 3 ingredients + 1 wrapper. Result: 1 ingredient is yellow, the other 2 red. Wrapper is red. Let's call this yellow ingredient Yellow1 and it was in slot 1.
Turn 2: Try 3 all new ingredients. Don't put the previous turn's yellow into some other slot. Save that for later. You have to identify as fast as you can the other 2 ingredients. Try new wrapper. Result: Wrapper is red. 1 ingredient is yellow (Yellow2 in, say, slot 1), other 2 is red. Thus, you now know you have 2 ingredients but they were in the wrong spots.
Turn 3: You try one of the yellow ingredients from previous in a new spot, say Yellow1 in slot 2, and the 2 last ingredients you haven't tried yet. You try the 3rd wrapper. Result: Wrapper is green (it better be!) and you have maybe 2 yellow (Yellow1 in slot 2 and Yellow3 in slot 3) ingredients at worst, and 1 red.
Turn 4: By now, you should be able to logic where each of the 3 yellow ingredients should go: Yellow1 has already been tried in 2 different spots so there's only 1 place left for it: Slot 3. Yellow2 already failed in slot 1, so it must be in slot 2. Yellow 3 has only 1 place left to go: Slot 1. And you already know the wrapper.