Answer
$x=9 \text{ or } x=1$
Work Step by Step
RECALL:
$\\\\|a|=a \text{ if } a\ge 0
\\\\|a|=−a \text{ if} a \lt 0$
$\\\\$Use this definition of absolute value to have:
$\\\\x-5 = 4 \text{ or } x-5 = -4
\\\\x=4+5 \text{ or } x=-4+5
\\\\x=9 \text{ or } x=1$