First, factor out the coefficient of the $x^2$ term (which is 2) from the first two terms:
$y = 2(x^2-2x) - 4$
Now, we need to find a constant to add and subtract inside the parenthesis to complete the square. We take half of the coefficient of the x term (-2),
Show more…