In the xy-plane, the graph of a linear function contains the points (−2,10) and (1,1). Which equation defines this function?
f(x)=3x+4
f(x)=−3x−2
f(x)=−3x+4
f(x)=−2x+10