Answer
$x\gt5$.
Work Step by Step
We know that $(x-k)^2\geq0$ for all $k$.
So here for the inequality to be true, $x-5\gt0\\x\gt5$ and $(x+2)^2\ne0\\x+2\ne0\\x\ne-2$
So the solution is $x\gt5$.
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.