F(x): (negative infinity, 1] decreases, and on the right side of the symmetry axis, it increases.
Substituting x= 1, the minimum value of f(x) is equal to-1.
Substituting x=2, the minimum value of g(x) is equal to 0.