We have the following:
The equation has the following form

where m is the slope and b is y-intercept
The slope formula is as follows

The point are (-4, 8) and (6, -4)
replacing:

In the graph we can see that the y-intercept is equal to 4, therefore, the equation would be
