check the picture below.
using a second for it, since it's a horizontal line, then say hmmm we'll use the y-intercept, or (0, 1), so the equation of a line that passes through (2,1) and (0,1)
[tex]\bf \begin{array}{lllll}
&x_1&y_1&x_2&y_2\\
% (a,b)
&({{ 2}}\quad ,&{{ 1}})\quad
% (c,d)
&({{ 0}}\quad ,&{{ 1}})
\end{array}
\\\\\\
% slope = m
slope = {{ m}}= \cfrac{rise}{run} \implies
\cfrac{{{ y_2}}-{{ y_1}}}{{{ x_2}}-{{ x_1}}}\implies \cfrac{1-1}{0-2}\implies \cfrac{0}{-2}
\\\\\\
% point-slope intercept
\stackrel{\textit{point-slope form}}{y-{{ y_1}}={{ m}}(x-{{ x_1}})}\implies y-1=0(x-2)[/tex]