Note where_ each pair is before you start and then when they are rotated together to pass to the next level. If you make a mistake, your score will decrease and you won´t get any more stars.
Find the pairs before the time runs out. If you have seconds left over, they will be added to the next seconds and if they reach zero you will lose all the remaining score.