\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
The table of values is given below:
\(x\) \(-2\) \(-1\) \(0\) \(1\) \(2\)
\(f(x)\) \(-1\) \(0\) \(1\) \(2\) \(3\)
Find \(x\) such that \(f(x)=1\).
\(x=\)