How intercepts are found
The y-intercept is the point where the line crosses the y-axis, found by setting x = 0 and solving for y. The x-intercept is the point where the line crosses the x-axis, found by setting y = 0 and solving for x.
For the equation Ax + By = C: the y-intercept is (0, C/B) and the x-intercept is (C/A, 0), provided the relevant coefficient is not zero.
y-intercept: (0, C/B)
Set x = 0 in Ax + By = C.
x-intercept: (C/A, 0)
Set y = 0 in Ax + By = C.