This can be done using the following LaTeX code:
```latex
\begin{tikzpicture}
\draw[latex-, thick] (-6,0) -- (5,0); % draws 1-D coordinate system
\foreach \x in {-5,...,4} % this is a loop which will put a tick at each of the numbers from -5 to
Show more…