You would distibute first distribute
6x-10=8
add 10 on both sides
6x=18
Then you divide 6 on both sides to get x by itself so
x=3