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