\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
For the rational function \(f(x) = \dfrac{2x}{x+1}\), fill in the table of values.
\(x\) \(-2\) \(0\) \(1\) \(2\)
\(f(x)\)