Given
A line that is parallel to the x-axis and is perpendicular to the y-axis, and has a slope of 0
To find the equation of the line.
The equation of the line parallel to x axis is given by,
[tex]y=b[/tex]The equation of the line perpendicular to y axis is,
[tex]x=a[/tex]Hence, the equation of the given line is of the form.
[tex]y-y_1=m(x-x_1)[/tex]Since slope is 0.
Then,
[tex]\begin{gathered} y-y_1=0(x-x_1) \\ y-y_1=0 \\ y=y_1 \\ y=b\text{.} \end{gathered}[/tex]Therefore the equation is y=b.