\(f\left(3x+2\right)=4x-5=\frac{4}{3}\left(3x+2\right)-\frac{23}{3}\)
\(\Rightarrow f\left(x\right)=\frac{4}{3}x-\frac{23}{3}\)
\(\Rightarrow f\left(f\left(x\right)\right)=\frac{4}{3}\left(\frac{4}{3}x-\frac{23}{3}\right)-\frac{23}{3}=\frac{16}{9}x-\frac{161}{9}\)