Consider that the general form of a linear equation can be writen as follow:
y = mx + b
where m is the slope of the line and b the y-intercept
use the following formula for the calculation of m:
m = (y2 - y1)/(x2 - x1)
where (x1,y1) = (-10,-7) and (x2,y2) = (0,10). Replace these values of the coordinates into the formula for m:
m = (10 - (-7))/(0-(-10))
m = (17)/(10)
m = 1.7
The y-intercept of the line is the value of the y coordinate when x=0, from the point (0,10) you can notice that y=10 when x=0. Then, the y-interceot is b =10
FInally, replace the values of m and b into the general expression for y:
y = mx + b
y = 1.7x + 10