Since slope of line passing through two points (x1,y1) and (x2,y2) is m=y2−y1x2−x1
We now find the slope of the line passing through the points (7,5) and (−9,5) as shown below:
m=5−5−9−7=0−16=0
Therefore, the slope of the line is 0.
Now use the slope and either of the two points to find the y-intercept.
y=mx+b
5=(0)(7)+b
b=5
Write the equation in slope intercept form as:
y=mx+b
y=5
Hence, the equation of the line is y=5.