Explanation:
So in here we can put the y-intercepts and x-intercepts together as (x, y), (x, y). (-3,0), (0,-6). And let's name them as X one, Y one and X two, Y two.
After that let's find the gradient(m) frist :
m = x-x1 / y - y1
= 0 - - 3 / -6 - 0
= 3/-6
= - 1/2
Then let's find the equation of the line :
Now we need to take one of the ys and xs we
had, (-3,0) and (0,-6). Let's take (-3,0) and the
m which is -1/2 :
y-y1 = m (x-x1)
y - 0 = -1/2 ( x - - 3)
y = -1/2 ( x +3)
y = - 1/2x - 3/2
Hope u find this helpful : )