The graph of a line passes through the points (−5,−2) and (1,4). What is an equation of the line?
y=x+3
y=−2x+2
y=−2x−2
y=x−3