This question was asked in Ex 4.2, 5
How the step after squaring came

Shashti Shree's image