Equation of the straight line can be given in several forms. I show in explicit form y=kx+l, where k is line coefficient and l is intersection with y axis.
-10 = 0 * k + l => -10 = l => l= -10
-7 = 1 * k - 10 => -7 = k - 10 => k = 10 - 7 => k = 3
Equation of the line is y = 3x - 10
This is correct answer.
Good luck!!!