Answer:
The linear function is:

Explanation:
Given
f(-1)=8 and f(5)=6
We can extract two pairs of input-output from the values given
From f(-1)=8,
(x1,y1) = (-1,8)
and
From f(5)=6
(x2,y2) = (5,6)
The linear function is given by:

Here m is the slope which is calculated by the formula

Putting values

Putting in the equation

Putting the pair of input-output equation (5,6)

Putting the value of b

Hence,
The linear function is:
