Find the equation of the line passing through the given pair of points. Write the equation in slope-intercept form.(2,6) and (-5,6)

To answer this question we will use the following two-points formula for the equation of a line that passes through two given points:
[tex]y-y_1=\frac{y_2-y_1}{x_2-x_1}(x-x_1)\text{.}[/tex]Therefore, the equation of the line that passes through (2,6) and (-5,6) is:
[tex]y-6=\frac{6-6}{-5-2}(x-2)\text{.}[/tex]Simplifying the above equation we get:
[tex]\begin{gathered} y-6=\frac{0}{-7}(x-2), \\ y-6=0. \end{gathered}[/tex]Adding 6 to the above equation we get:
[tex]\begin{gathered} y-6+6=0+6, \\ y=6. \end{gathered}[/tex]Answer:
[tex]y=6.[/tex]