Explanation:
if you cannot see directly, you can always use 2 pairs of x,y numbers from the table to create 2 equations and solve for the 2 variables.
we could call them a, b.
the equation is then
y = ax + b
now, let's pick x,y pairs with simple numbers.
like 1,1 and 0,-9
1 = a×1 + b = a + b
-9 = a×0 + b
so, the second one gives us b directly
b = -9
with that we go into the first :
1 = a + -9 = a - 9 | add 9 to both sides
1 + 9 = a - 9 + 9
10 = a
so, our equation is
y = 10x - 9
FYI - how could we see it directly ?
well, we see that when x increases by 1, y increases by 10.
so, we know, a = 10.
and the x=0 point gives us b directly : b = -9.
that's really it (for a line).