Equation of the line parallel to the x-axis:

x = 0

x = a

y = a

x = y