The equation given (y = 6 - x) is the same as saying
y = -1x + 6
Since we have a negative x variable and a positive 6 and would also be graphed the same. The only difference is that the second equation I just mentioned resembles the y = mx + b expression more. In this case the slope would be