While the vertex of the function f(x) = x^2 is (0, 0), the vertex of the function g(x) = x^2 + 2x + 1 is (-1, 0). Whereas both function has same y-cordinate, their x-coordinate are different which indicates that the function g(x) = x^2 + 2x + 1 is a horizontal translation of the function f(x) = x^2.