Question "Binary Land"

Can someone explain the solution to Binary Land? My (incorrect) submission. There is no editorial