Okay, so the trick to dealing with the question is to begin by figuring out where the solution can exist rather than where exactly the solution is.
We can rearrange the equation as:
$$ | \log_e |x-2| | = -(x^2 - 2x -35)$$
The reason I did this was that I have an absolute value, rearranging like this tells me I have to focus only on the part where RHS is positive. So, we have to solve the inequality:
$$ -(x^2 - 2x - 35) \geq 0 \iff x^2 - 2x -35 \leq 0$$
Now, I'll tell you are pretty uncommon trick: Consider the quadratic $q(x)= x^2 - 2x -35$, if we consider $\lim_{x \to \infty} q(x)$ then we it should be that the $x^2$ term dominates the value. Since the $x^2$ term has positive coefficient, $ \lim_{ x \to \infty} q(x)$ is some positive value. This means that the whole quadratic is negative in the region between the roots (it's in some finite place of $\mathbb{R}$). I find the solution as:
$$ - 5 \leq x \leq 7 \tag{1}$$
Before removing the absolute value on LHS, we have to see when the function is positive and when it's negative. We have :
$$- \log_e |x-2| \leq 0 \iff |x-2| \leq 1 \iff 1 \leq x \leq 3 \tag{2}$$
And,
$$ \log_e |x-2| > 0 \iff |x-2|>1 \tag{3}$$
Now, since domain must work for both sides, we have to intersect (1) with (2) and intersect (1) with (3), and simplfy.
- On the interval $[1,2)\cup(2,3]$, we have:
$$- \log_e (|x-2|) = - (x+5)(x-7)$$
- On the interval $ \left(-5,1 \right] \cup \left[3,7\right)$ , we have:
$$ \log_e (|x-2|) = -(x^2 -2x -35) $$
Now, we can split into further sub cases by expanding out the piece input and then use increasing/ decreasing arguments on the simplfied subsets to solve. Or, one can directly go for a graphical solution after (1):

(1) told me how the parabola looks like, and then it's just drawing grap hof $\log_e$ using experience.