3x-2=8x-17
Add 17 to both sides
3x+15=8x
Subtract 3x from both sides
15=5x
Isolate the variable by dividing by 5
15/5= 3
x=3