Hey there!
We can first find the slope of the line using our slope given two points formula:
y2-y1/x2-x1 = -2-2/1-3 = -4/-2 = 2
Now that we know our slope is two, we can plug that back along with an x and y from one of the points into slope intercept form to solve for b. Remember, we need a slope and y intercept to make it into slope intercept, which is defined as:
y = mx + b, which m as the slope and b as the y intercept.
We'll use (3,2). Plug in those points and the slope:
2 = 3(2) + b
2 = 6 + b
-4 = b
Now, with our y intercept and slope, we can make the equation:
y = 2x-4
Hope this helps!