In order to find the equation of the line, you take into account the following formula:
y = mx + b
which is the equation of the line
Now, you calculate m, named the slope, by using the following formula:
m = (y2-y1)/(x2-x1)
where x1, x2, y1 and y2 are the coordinates of the given points (0, -6) and (4,10).
Thus, you have x1 = 0, x2 = 4, y1 = -6 amd y2 = 10. You replace these values into the formula for m:
m = (10 - (-6))/()