How do you find the slope of 2x= -8?
The value of a slope is, strictly speaking, undefined or, in a less rigorous language, infinity.
Slope of a straight line in the XY-system of coordinates is defined as a ratio of increment along the Y-axis towards increments of the X-axis.
Let's take two points on a line with coordinates
In case of a line defined by an equation
That makes the denominator in the definition of a slope equal to zero and the value of a slope will be undefined.
Using less rigorous language, you may say that the result of division by zero is infinity, and don't bother to ask whether it's positive or negative infinity since it depends on whether