You're looking for a line with the formula y= mx+ b , in which m= slope and b= y intercept.

First, use the slope formula with your two points to find the slope.

That is "m."

Next, plug one of your points, such as (-5,0) into the equation.

0= -5m + b

You should have m already from the slope formula. You then solve for b.

Finally, you put it all together.

y= mx+ b

Alternately, to find b you can use the formula y1-y= m(x-x1), called the point-slope formula.