we have the points
(9,7) and (7,5)
step 1
Find out the slope
m=(5-7)/(7-9)
m=-2/-2
m=1
step 2
Find out the equation in point-slope form
using
m=1 and point (9,7)
y-y1=m(x-x1)
substitute
y-7=(1)(x-9)
y-7=x-9 -------> equation in point slope form 1
using
m=1 and point (7,5)
substitute
y-5=(1)(x-7)
y-5=x-7 ---------> equation in point slope form 2
step 3
Convert to slope-intercept form
y-7=x-9 -----> y=x-9+7 ------> y=x-2 -----> equation in slope-intercept form
Convert to function notation
f(x)=x-2