A product of two numbers is positive if and only if the two numbers have the same sign.
So x^2- 4= (x- 2)(x+ 2)> 0 if and only if (1) x- 2> 0 and x+ 2> 0 or (2) x-2< 0 and x+2< 0.
x-2> 0 gives x> 2 and x+ 2> 0 gives x> -2. Both of those will be true if x> 2.
x-2< 0 gives x< 2 and x+ 2< 0 gives x< -2. Both of those will be true if x< -2.
That is where Panav-arora gets his answer of "(-\infty, -2)\cup (2, \infty)" (although it would have been better to give hints rather than simply the answer).
A more general way of solving complicated (non-linear) inequalities is to solve the associated equation. The equation associated with x^2- 4> 0 is x^2- 4= 0 which has roots x= -2 and x= 2. Those two numbers divide the real number line into three intervals, x< -2, -2< x< 2, and x> 2. Since x^2- 4 is a continuous function, x= -2 and x= 2 are the only places where ">" can change to "<" and vice-versa. That is, we must have either ">" or "<" for all points on each interval and so it is enough to check for one point in each interval. If, for example, x= -3< -2, is x^2- 4> 0? If yes, then x^2- 4> 0 for all x< -2. 0 is between -2 and 2. If x= 0, is x^2- 4> 0? If yes, then it is true for all x between -2 and 2. If false, then it is false for all numbers between -2 and 2. 3> 2. If x= 3, is x^2- 4> 0? If it is true, then it is true for all x> 2.