When we are given a straight line drawn on the cartesian graph, i.e, having x and y coordinates, the gradient/slope is the change on the y-axis relative to change on the x-axis.
The x-axis is the horizontal axis and the y-axis is the vertical axis.
To get the gradient, we simply pick two points on the line and name them points 1 and 2. Thus, they will have the following attributes:
The gradient of a straight line is:
So, in our question, we can pick our points 1 and 2 at
Point 1 = (-2, 6), (1,-3),
Point 2 = (0, 0), (2,-6)
Applying our formulae, we get:
The gradient is -3.
As for the intercept on the y-axis, this is the point on the vertical axis where the graph cuts the graph. It can be visibly seen from our graph as occurring at y = 0.
However, it can be calculated via a formula to give us the form: y = mx + c.
where: m is the gradient/slope and c is the intercept on the y axis.
Formulae for getting conventional line equation is:
The line equation is therefore: y = -3x + 0
Slope = -3 AND
y-intercept = 0