Here you need to compare the number of blue books standing against the ones that are lying flat. If number of standing > number of flat then you need to light the candle corresponding to it.
So in the first row: standing=2 and flat=1. Here you need to turn the candle ON.
In the second row: standing=3 and flat=2. Here you need to turn the candle ON.
In the third row: standing=2 and flat=5. Here you need to turn the candle OFF.
In the fourth row: standing=2 and flat=1. Here you need to turn the candle ON.
In the fifth row: standing=0 and flat=1. Here you need to turn the candle OFF.
Now you can proceed to the next level.