Find the equation of the line that passes through (-5,4) and (6,4)

My work:
M= 4-4/6+5 = 0/11
y=mx+b
4= 0(6) + b
4=b
Y=4
Therefore, the equation of the line that passes through (-5,4) And (6,4) is y=4
Was this done correctly?

yes.

With a little experience, you would have noticed that the line was horizontal, so y=4 everywhere.

Your analysis will always give the right answer, though.