We have the next given line equation:
Now, solve for y to get the slope-intercept form y=mx+b.
Where -2 represents the point where the line cuts the y-axis.
Hence, Q=(0,-2)
To find the x-intercept, set y=0:
Hence, the P point is (3,0)
Now, the gradient is also called the slope.
The slope equation is given by:
We can use the two points that we found before or we can get the slope looking at the slope-intercept form:
y=mx+b
where b represents the y-intercept and m represents the slope.
In this case, we found the next form:
Hence, the gradient of the line is 2/3.