hSo the equation y =2 is basically a horizontal line.
The definition of slope is rise over run. But in the case of a horizontal line, its just run, but no rise.
Therefore the slope is 0 .
The y intercept is 2 since the line is crossing the y axis at 2