Answer
The error is in the bottom row.
The correct solutions are $x=5$ and $x=-2$.
Work Step by Step
The error is in the bottom row of the solution, specifically $x=-5$.
The correct solution is:
$\\x-5=0 \text{ or } x+2=0
\\x=5 \text{ or } x=-2$