For x > 2, you would circle the 2, but you would not shade it in because it is greater than/ less than, not greater than or equal to/less than or equal to. From there on, you would move it to the right, because here x is greater than 2, and the numbers to the right of 2 are greater than two.
For x < 2, you would again circle the 2, but don't shade it in. And then you would make a line heading towards the left, because the numbers to the left of 2 are smaller than 2, and here, x is smaller than 2, since 2 is greater.
A value that is not the solution to either inequality is 2. 2 is not greater than 2, and 2 is not less than 2.