This question was asked in Ex 4.3, 1

Second method of complete the square method

Gautam Arora's image