We know that f(x) is a linear function so first we need to calculate first the slope

where in our case
y1=24, x1=5
y2=120, x2=17
we substitute the values

then we will use the form of slope-point in order to find the y-interceot}

then we isolate the y

therefore for f(x)
