Answer
x=8
Work Step by Step
x must be even since neither the other term nor the sum are fractional.
$\underline x\ \ \ \ \underline{\frac{1}{2}x-5}$
$2\ \ \ \ \ \ -4$
$4\ \ \ \ \ \ -3$
$6\ \ \ \ \ \ -2$
$8\ \ \ \ \ \ -1\longrightarrow$ 8 is the solution