The slope-intercept form:

m - slope
b - y-intercept
The formula of a slope:

We have the points (-1, -10) and (1, 0). Substitute:

y = 5x + b
Put the coordinates of the point (1, 0) to the equation of line:

subtract 5 from both sides

Answer: y = 5x - 5