If your inequality symbol is or then use a broken line for the boundary. This means that points on the line are NOT included in the solution set.
If your inequality symbol is or then use a solid line for the boundary. This means that points on the line ARE included in the solution set.
Once you have the boundary line graphed, pick any point you like that is NOT ON THE LINE. If the line does not pass through the origin, the origin itself is a very good selection for a test point. Otherwise, pick something with small integer coefficients -- all this so that the arithmetic is easier.
Substitute the coordinates of the point you chose into the original inequality. If the result is a true statement, shade in the side of the line that CONTAINS the point you chose. If the result is a false statement, shade in the side of the line that DOES NOT CONTAIN the point you chose.
This doesn't go through the origin so, lets try (0,0)
Yep, zero is less than 2, so the shading happens on the side of the line containing the origin.