You can just replace with 2:
Alternatively, you can complete the square.
When , the quadratic term vanishes and we again get -2.
8.3m questions
10.9m answers