In order to graph this function, we need to find at least two points that belong to the function.
Two good points to choose are the x-intercept (y = 0) and the y-intercept (x = 0).
So we have that:
[tex]\begin{gathered} y=-x-6 \\ \\ y=0\colon \\ 0=-x-6 \\ x=-6 \\ \\ x=0\colon \\ y=-0-6 \\ y=-6 \end{gathered}[/tex]So we have the points (-6, 0) and (0, -6).
Graphing these points and the line connecting then (this line will be our function), we have that: