x=-2 does not have a slope does it?

sure it does, m = intinity

graph it, straight up and down parallel to y axis crossing x axis at x = -2

So the slope would be all numbers?

Or is it just undefined?
I have to give exact numbers.

There is no exact number but oo. The slope of a vertical cliff is infinite.

When the equation of a line is given in the form of "x = constant value" like x = -2, it represents a vertical line. A vertical line has no slope because its y-coordinate does not change regardless of the value of x. Slope is defined as the ratio of the vertical change (change in y) to the horizontal change (change in x) between two points on a line.

To determine the slope of a line, you need to have a line that is not vertical and have at least two distinct points on that line. Then you can apply the slope formula:

slope = (change in y) / (change in x).

But since x = -2 is a vertical line, it does not have a slope because there is no change in x when we move along the line.