x2 − 2x − 2 into the form a(x − h)2 + k.