8x -2 -5x =8 (your equation)

8x -5x -2 = 8 (rearrange to put x terms together)

x(8 -5) -2 = 8 (factor out x)

3x -2 = 8 (do the arithmetic to find the coefficient of x)

3x -2 +2 = 8 +2 (add 2 to both sides of the equation)

3x = 10

x = 10/3 (divide both sides of the equation by 3)

Check

8(10/3) - 2 - 5(10/3) = 8

80/3 - 2 - 50/3 = 8

80/3 - 6/3 - 50/3 = 8

74/3 - 50/3 = 8

24/3 = 8 (yes)

8x -5x -2 = 8 (rearrange to put x terms together)

x(8 -5) -2 = 8 (factor out x)

3x -2 = 8 (do the arithmetic to find the coefficient of x)

3x -2 +2 = 8 +2 (add 2 to both sides of the equation)

3x = 10

x = 10/3 (divide both sides of the equation by 3)

Check

8(10/3) - 2 - 5(10/3) = 8

80/3 - 2 - 50/3 = 8

80/3 - 6/3 - 50/3 = 8

74/3 - 50/3 = 8

24/3 = 8 (yes)