First, let's find the slope of the line using the points (0,5) and (0,0) (we are using (0,0) since the x-intercept is 0):
[tex]\begin{gathered} m=\frac{y_2-y_1}{x_2-x_1} \\ \Rightarrow m=\frac{0-5}{0-0}=-\frac{5}{0} \end{gathered}[/tex]as we can see, we get an undefined number, therefore, the line is a vertical line with equation x=0, that coincides with th y-axis: