Write a linear function $f$f​ with f of 0 is equal to 7$f\left(0\right)=7$f(0)=7​ and f of 3 is equal to 1$f\left(3\right)=1$f(3)=1​ . $f\left(x\right)=$f(x)=​