Turns out it's literally a guessing game.
I literally guessed it for the first level, and if you scanned the wrong room and you know it's not where you scan, you have to do everything again.
Also I didn't even knew what to do in the first place.