The equation of a line starting from two points is:

From the first point you get: x1 = -1, y1 = -2
From the second point you get: x2 = 3, y2 = 10
Replace x1, y1, x2, y2 in the equation of the line and you get:



From this you get the equation of your line:
