Find the slope and use one point to write the equation of a line (we’ll be using point-slope form). The slope is:
(3 - (-2) ) / (4 - (-1) ) = 1. Plug it into point slope form, y - y1 = m(x - x1), and we get y - 3 = 1(x - 4). If we want to get slope-intercept, distribute the 1, and solve for y: y = x - 1.