Check the final answer first, then review the worked steps.
$8 - 5x = 8 \implies -5x = 0 \implies x = 0$$8 - 5x = -8 \implies -5x = -16 \implies x = \frac{16}{5}$