Take note how the number lines are drawn and how are the numbers, in each case are represented on the number line.
Note that in e.g. 1 & e.g. 2, we can indicate the dots on or on the number line because they are discrete & unique, and therefore the dot is clear. It would be a good practice to put the dots above the line.