Korney Korneevich and XOR (easy version)

can someone explain the solution to this problem : Link