Answer:
y=5 would be the equation
Explanation:
when the line is horizontal you would take the y coordinate of the coordinate given to you and put that into y=n with n being the value of the y coordinate
if the line were vertical you would take the x coordinate of the coordinate given to you and put that into x=n with n being the value of the y coordinate