How to find the intercept of a straight line on x-axis and y-axis

How to find the intercept of a straight line on x-axis and y-axis


When x = 0, y is the intercept of Y axis, and when y = 0, X is the intercept of X axis



Find the intercept of the line 2x-y-6 = 0 on the X and Y axes
Such as the title


Y = 2x-6, so it intersects with y axis at (0, - 6)
X = y + 6 / 2, so it intersects with X axis at (3,0)
So the intercept on the x-axis is - 6
The intercept on the y-axis is 3