f(x) is a linear function. If f(1) = 2 and f(3) = 8, then f(x) = ?
Let f(x)=3x-1.
Then f(1)=3(1)-1=3-1=2 and f(3)=3(3)-1=9-1=8.
Therefore, f(x)=3x-1.