When solving an inequality, the rules are similar to solving an equation, but instead there's an inequality sign. The only thing to be careful about when solving an inequality is that when you multiply/divide by a negative number, you have to flip the inequality sign, but you don't have to worry about that here!
So you have 2x < 8.
Divide both sides by 2 to isolate the variable, x: