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