The equation of a line is given by:
where (x1,y1) is a point on the line and m is the slope.
The slope is given by:
Then, in this case:
Once we have the slope we can plug the values in our first equation:
Therefore the equation of the line we are lookinfg for is y=9.