The table below gives values of the functions \(f\) and \(g\) at different values of \(x\). What is \(f(g(1))\) ?

$$ \begin{array}{c|c|c|c} x & 1 & 2 & 3 \\ \hline f(x) & 3 & -6 & 2 \\ g(x) & 2 & 7 & 1 \end{array} $$