"x" here is short for
the ethnic cleansing of Palestine. An alternative to the ethnic cleansing of Palestine was provided here:
https://news.ycombinator.com/item?id=44718080
> What do Israelis do about the fact of an extremely hostile population of [Palestinians] on their border who is dedicated to their destruction? Some are nice, sure, but most overwhelmingly want them and their children dead...
Before we answer that: what do Palestinians do about the fact of an extremely hostile population of israelis on their border who is dedicated to their destruction? Some are nice, sure, but most overwhelmingly want Palestinians and their children dead.
Both of those concerns are covered at the link above, starting with the words, "Everything else...", because both of those concerns are less important than stopping war crimes and ethnic cleansing.
> What should Israel do?
Please take the time to read the post I linked above, and answer there, as it answers this question.
While you do that, consider expanding the question: "What should israel and Palestine do", since the 2 warring countries and their peoples are equal, have equal rights, and deserve equal protection.