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):
![\begin{gathered} m=(y_2-y_1)/(x_2-x_1) \\ \Rightarrow m=(0-5)/(0-0)=-(5)/(0) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/peni29ovq0r4p8dhxibzc17fpv7o42kv9s.png)
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: