[tex]\begin{gathered} a\text{ linear function is } \\ f(x)=ax+b \\ f(0)=2 \\ a(0)+b=2 \\ b=2 \\ \\ \text{Thus } \\ f(x)=ax+2 \\ \\ f(9)=4 \\ a(9)+2=4 \\ 9a=4-2 \\ 9a=2 \\ a=\frac{2}{9} \\ \\ \\ \text{ Thus we get} \\ f(x)=\frac{2}{9}x+2 \end{gathered}[/tex]