Standard form is y = a(x - h)^2 + k
In your equation, the coefficient of x^2 is a = 1
The coefficient of the middle term is b = -2
To find h use the equation h = -b/(2a) = 2/(2(1)) = 1
Substitute a = 1 for x in the equation k = x^2 - 2x + 1
k = 1^2 - 2(1) + 1 = 0
The equation becomes y = 1(x - 1)^2 + 0