Example 4. Let $f(x)$ be a linear function of $x$, and $f[f(x)]=9 x+8$, find $f(x)$.

Translate the above text into English, please keep the original text's line breaks and format, and output the translation result directly.
Solve for $f(x)=a x+b$, substitute into the original equation: $a= \pm 3, b=2$ or -4.