The two points share the same y coordinate, which means that the line is horizontal, and this in turn means that the slope is 0.
Since a line written in slope-intercept form is

In the case of m=0 the equation is

where the constant
is the common y coordinate shared by all points.
So, in your case, the equation is
