write an inequality for the graph using x for the variable.

Given:
There are given that the inequality graph.
Explanation:
In the given question, there are given number line graphs, in which the arrow has been shown in a negative direction.
Also,
There are given that the number 2 has not been included in the given graph.
So,
The inequality will be:
[tex]x<2[/tex]Final answer:
Hence, the inequality is shown below:
[tex]x\lt2[/tex]