We want to find the slope-intercept equation of the line passing through (-2,-5) with a slope of 0.
Note that since the slope is 0, the line will be horizontal, as there will be no change.
And since it passes through the point (-2,-5), the equation of the horizontal line must be y = -5. Since the line is horizontal, the x-coordinate is irrelevant.
In conclusion, our equation is y = -5.