You can put this solution on YOUR website! Graph f(x)=-x-2
To graph a line you need to plot two points.
Let x = 0 then y = -0-2 = -2
Let x = 2 then y = -2-2 = -4
Plot the two points (0,-2) and (-2,-4)
Draw a line thru them.
That is the graph you want.
Cheers,
Stan H.