If a line is described by the formula #y=mx + c#, then #m# is the slope and #c# is the intercept.
In your example #x=-8# cannot be expressed by such a formula. Its graph is a vertical line through #(-8, 0)#, parallel to the #y# axis and its slope is infinite.