Solving $\sqrt{8+2x-x^2} > 6-3x$. 
So I was solving this inequality.
  $$\sqrt{8+2x-x^2} > 6-3x$$



*

*First things first, I obtained that the common domain of definition is actually $[-2,4]$.

*Next we would square and solve the quadratic that follows.
But the "solution" seems to have a part, where they took $6-3x \geq 0$,
which gave another restriction for $x$ as $(-\infty,2]$. 
I did not understand this. Why was this necessary?

Let's say we have an inequality $\sqrt a>b$. We're often interested in getting rid of the square root, so we want to do something along the lines of 'squaring both sides'. But squaring both sides doesn't necessarily preserve the inequality. 
Example:
$$\sqrt5>-3$$
But 
$$\implies\sqrt5^2>(-3)^2 \implies 5\gt9$$
is clearly false.

If you want a general rule, then you should use
$$|a|\gt|b|\iff a^2>b^2$$
This explains why you need to consider separate cases here
