How many of these functions do have a global minimum on the interval \( [ -1;\infty) \) at the point \(x=-1\)?
\[f(x)=x+\frac1{x+2}\]
\[g(x)=x^2+4x+4\]
\[h(x)=3x+1\]
How many of these functions do have a global maximum on the interval \( (-\infty;-1]\) at the point \(x=-1\)?
\[f(x)=x+\frac1x+2\]
\[g(x)=-x^2+6x-9\]
\[h(x)=2x-3\]