Let the image of two quadratic functions be symmetric with respect to the straight line x = 1, and the analytic expression of one function is y = x ^ 2 + 2x + 1?

Let the image of two quadratic functions be symmetric with respect to the straight line x = 1, and the analytic expression of one function is y = x ^ 2 + 2x + 1?

Let a point coordinate on another function be (x, y), then its symmetric point coordinate is: (2-x, y), and because this symmetric point is on the first function, it has:
y=(2-x)^2+2(2-x)+1=4-4x+x^2+4-2x+1=x^2-6x+9
The other is y = x ^ 2-6x + 9