Place the elements on the inventory so that you join three identical pieces and make them all disappear from the screen. Think each move through to achieve it.