This might be given to you in the general form of (x1, y1) and (x2, y2) If you only have the equation for f(x) and the secant line, plug in the two x values (x1 and x2) into f(x) to get y1 and y2 respectively.

m=y2−y1x2−x1{\displaystyle m={\frac {y_{2}-y_{1}}{x_{2}-x_{1}}}}

m=7−65−3{\displaystyle m={\frac {7-6}{5-3}}} m=0. 5{\displaystyle m=0. 5}