To find the slope for a line that connects the given points, use the following formula:

where (x1,y1) and (x2,y2) are the given points.
Use:
(x1,y1) = (-1,1)
(x2,y2) = (3,3)
replace the values of the previous parameters in the formula for m:

Hence, the slope is 1/2