To solve this, first subtract 6x from both sides.
That is because there cannot be the same variable on both sides of the equation. The new equation would be:
6x=24
Now divide by both sides of the equation by 6
x=4
Hope this helped! Tell me if you have any more questions!