The interval notation given to us means that x is between negative infinity and 5, excluding both endpoints.
So we can write
which shortens to
The graph will have an open hole at 5 on the number line, and shading to the left to indicate all points smaller than 5.