Well, we can do this a few ways.
First, what does y = 6 look like? It's a horizontal line where any point has a y-value of 6. What would the equation be of a horizontal line that includes (-7,-5) as a point?
y = -5
Now, let's say you don't realize that. Since we have no "x" in our equation, the slope is 0, but we don't write y = 0x + 6 because that's just silly.
We can use our given point to find b.
-5 = 0(-7) + b
-5 = 0 + b
b = -5
y = 0x - 5
y = -5
Or, lastly...
y - (-5) = 0(x - (-7))
y + 5 = 0(x + 7)
y + 5 = 0
y = -5
Hopefully one of those works for you.