We can start by adding 2 to both sides of the equation to get rid of the constant term (-2) on the left side:
5x - 2 + 2 = 8 + 2
Simplifying, we get:
5x = 10
Next, we can isolate x by dividing both sides of the equation by 5:
5x/5 = 10/5
Simplifying, we get:
x = 2.