The domain of definition of function y = f (x) is R. for any x ∈ R, f (- x) = f (2 + x). When x is less than or equal to 1, FX) = x ^ 2 + 1, find the analytic expression of F (x)

The domain of definition of function y = f (x) is R. for any x ∈ R, f (- x) = f (2 + x). When x is less than or equal to 1, FX) = x ^ 2 + 1, find the analytic expression of F (x)

f(x)=x^2+1,x1.