The equation of a line is typically written as y=mx+b where m is the slope and b is the y-intercept.
First find what m is equal to:
the slope "m" is always defined as "the change in y over the change in x" or, in equation form:
m= (y2-y1) / (x2-x1)
m= (0-5) / (-2-(-4))
m= -5/2
If a point is (x,y) then:
for (-4,5) y = 5
for (-2,0) y = 0
Then find what b is using y=mx + b and plugging in the slope m= -5 / 2 and one of the points
5= (-5/2)(-4) + b
b= 5- (-5/2) (-4)
b= -5
If the equation of a line is typically written as y=mx+b where m is the slope and b is the y-intercept then the equation of the line passing through points (-4,5) and (-2,0) is:
y= (-5/2)x - 5