Swap sides so that all variable terms are on the left hand side. This changes the sign direction.
Add 7 to both sides.
[tex]2x < 5+7[/tex]
Add 5 and 7 to get 12.
[tex]2x < 12[/tex]
Divide both sides by 2. Since 2 is positive, the inequality direction remains the same.
[tex]x < \frac{12}{2}[/tex]
Divide 12 by 2 to get 6.
[tex]x < 6[/tex]
I hope this helps you
:)