Question: what is the equation of a line that is parallel to the y axis?
Answer: Thus, if P(x, y) is any point on AB, then x = a. Hence, the equation of a straight line parallel to y-axis at a distance a from it is x = a. The equation of y-axis is x = 0, since, y-axis is a parallel to itself at a distance 0 from it.