You mixed up the two intercepts. The x-intercept is the point where the line crosses the x-axis. This happens when . The y-intercept is the point where the line crosses the y-axis. This happens when .