Why would x > 2 ??!!
In given inequality RHS and LHS both are positive so we can directly take log on taking log we reach to this equation
And log can't take negative values and zero so x always >2 , even it is given in solution provided by you.