We know that Slope of a Line Passing through two points (x₁ , y₁) and (x₂ , y₂) is given by :
[tex]Slope(m) = \frac{y_2 - y_1}{x_2 - x_1}[/tex]
Given Points are (-1 , 2) and (5 , 2)
here x₁ = -1 and x₂ = 5 and y₁ = 2 and y₂ = 2
⇒ [tex]Slope(m) = \frac{2 - 2}{5 + 1} = 0[/tex]
We know that the form of line passing through point (x₀ , y₀) and having slope m is :
y - y₀ = m(x - x₀)
Here the line passes through the point (-1 , 2)
x₀ = -1 and y₀ = 2 and we found m = 0
Equation in Point slope form : y - 2 = 0