The horizontal line has an equation x = a, where
a is the x-coordinate of any point lies on the line
Since the line passing through point (0, 0)
Which means x-coordinate of the point = 0
Then the equation of the line is x = 0
That means y-coordinate can be any number because x = 0 represented by the y-axis
So the function notation is f(x) = y