In order to get an equation is slope intercept form, we need to find the slope.
The formula is:
y2 - y1
———-
x2 - x1
In this case:
10 - 2
———
7 - 3
=
8/4
2
Now that we know the slope, we can plug it into y = mx + b with x and y being x1 and y1.
y = 2x + b
10 = 2(7) + b
10 = 14 + b
-4 = b
Now, we can construct our equation.
y = 2x - 4
Hope this helped!